Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by drzeus on Aug 29, 2008 01:13
open dhtmlx forum
Get cell value by column name ( not an index )

I need to get value of a cell of the row selected and by specifying the column name.( not column index)
I define columnIDs while im creating grid.
How can i do this?
thanks,
Answer posted by Support on Aug 29, 2008 01:29
You can convert cell ID to cell index as

var index = grid.getColIndexById(id);
var value = grid.cells(rowId,index);