Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Santhosh on Apr 06, 2008 22:58
open dhtmlx forum
block some columns from copy/paste

Hi,

I have use Blockcopy/paste operation in dhtmlXGrid, i can prevent some columns from copy/paste action.is it possible? can you explain it and thank you for your comments on my previous question.


Thanks
Santhosh R







Answer posted by Support on Apr 07, 2008 02:10
The block copy operation uses CVS serialization, to get data as text string.
You can use CSV serialization related commands to control data which will be set in clipboard

    mygrid.setSerializableColumns("false,true,true,false");

only second and third columns set as serializable, so only they will be copied to clipboard.