Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by vlad bedanov on Mar 30, 2009 12:01
open dhtmlx forum
dhtmlxGrid

I have read-only numeric values in my grid (colType=ro, colSorting=int). Is there a way users can select and copy some of the values?
If I set colType to "txt" instead of "ro" it can be copied but sorting got broken and I can copy one cell at a time only.
Answer posted by Support on Mar 31, 2009 06:04
You can 
a) enable native selection in grid
http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=8058&ssr=yes&s=onselectstart

b) use custom block selection 
http://dhtmlx.com/docs/products/dhtmlxGrid/samples/clipboard/grid_selection.html?un=1238505539000

>>If I set colType to "txt" instead of "ro" it can be copied but sorting got broken and I can copy one cell at a time only.
If problem with sorting still occurs for you - please provide any kind of sample where it can be reconstructed , normally , column type must not affect sorting.