Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by John Haigh on Oct 07, 2009 07:13
open dhtmlx forum
Disable Editing of Treegrid

I am an existing customer and I am wondering how you disable all editing in a Treegrid?

I want to disable editing of the Tree column as well where no cells in the entire grid should be editable whereby the grid becomes read only.

I have tried the following but both of these options do not work.

mygrid.enableTreeCellEdit(false);
mygrid.setEditable(false);

Thanks,

John Haigh
Answer posted by dhxSupport on Oct 07, 2009 09:28
To disable "tree" cell to edit you should use

mygrid.enableTreeCellEdit(false)