Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Agile on Nov 20, 2008 21:41
open dhtmlx forum
Update cell value by column ID

Hi Team,

I want to update row cell by column ID.
Currently I am using,
mygrid.cells(row_id,column_index).setValue(value);

Is it possible to pass column_id instead of column_index?

Please suggest any solution...

Thanks,
Pankaj
Answer posted by Support on Nov 21, 2008 02:18
You can convert column Id to column index

mygrid.cells(row_id,mygrid.getColIndexById(column_id)).setValue(value);