Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Nov 13, 2007 17:21
open dhtmlx forum
Disabling editting for the tree Column(First Column) in TreeGrid

Is there a way to make the tree column of the TreeGrid to be non-editable? All samples for TreeGrid seems to be editable.

Thanks,
Ben
Answer posted on Nov 14, 2007 01:41
You can disable edit operation for tree column by

    grid.enableTreeCellEdit(false);

Also, in common case, edit operation for any column can be disabled by attaching custom onEditCell handler.