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
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