Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 14, 2007 14:23
open dhtmlx forum
Though we have tried several approaches, we do not have the ability to turn on/off the editability of indivi...

Though we have tried several approaches, we do not have the ability to turn on/off the editability of individual cells.  Everything seems to have negative side-effects.  We need something like "setEditable" for the cell level.  We even wrote our own function for this, but it broke other things like drag-n-drop.
Answer posted on Mar 14, 2007 14:23

each cell ( except "tree" cells which are specific and has special command for such purpose ) can be enabled / disabled in next way

            grid.cells(rId,cInd).setDisabled(true);

Also, in case of Pro version you can use dynamic typing feature, you can create a column as "ed" by default, but provide attribute type="ro" for cells in XML, which you want to set to read-only mode.
Answer posted by Stanislav (Support) on Nov 28, 2014 00:35

The information connected with list combobox and php ajax javascript also can help you, so please check it too.