Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sandip on Dec 11, 2008 22:23
open dhtmlx forum
dhtmlxGrid

i want to only select the cell, some event should be fire, while handling that event i want the value of cell as well as the the column header. How can accomplish the above task? here while clicking the cell row get selected and while double clicking the cell is selected in edit mode.

If the cell is readonly they it may not open in edit mode? for readonly how i can handle the task?
Answer posted by Support on Dec 12, 2008 01:45
You can use 
grid.attachEvent("onRowSelect",function(id,ind){
      alert(grid.cells(id,ind).getValue()+" , "+grid.getColumnLabel(ind))
});