Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tejas Shah on Jun 22, 2008 05:30
open dhtmlx forum
DHTMLX Grid : Making a row editable based on context menu option

How to make a row editable based on the context menu option.

Suppose I want to make a row editable based on context menu option called "Edit" means ONLY that particular row should be editable and all other rows should be uneditable.

How to do this ?
Answer posted by Support on Jun 23, 2008 02:05
You can make all rows in grid locked during data loading. It can be done by using locked attribute of row tag
    <row locked="true" id="some">...

In context menu handler , you can can un-lock row by using
    grid.lockRow(row_id,false);