Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Raghu on Oct 20, 2008 03:44
open dhtmlx forum
Grid

Hi,
In grid how to get the header name,when we are doing the server side sorting need to pass the field name instead of the index
Answer posted by Support on Oct 20, 2008 04:51
You can get column id ( if one was defined ) as
   grid.getColumnId(index);
or label of related column as 
   grid.getColumnLabel(index);
and send such info to server side instead of column index