Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ez on Apr 23, 2009 23:43
open dhtmlx forum
Problem with mygrid.gridToClipboard()

Hi!

I found that copy to clipboard like this:

mygrid.setCSVDelimiter('\t');
mygrid.gridToClipboard();

Causing that not only cell values goes to clipboard but also row id values.
Is any method to prevent the row id values from being copied?
Answer posted by dhxSupport on Apr 24, 2009 06:51

Add following code to the grid init:

mygrid.enableCSVAutoID(true);