I have a jqGrid event handler that receives the iCol as a parameter. I need to know how to obtain the name specified in colModel for that given iCol.
For example given the following jqGrid event handler:
onSelectCell that receives rowid, celname, value, iRow, iCol
How can I get the colModel name associated with the iCol index?
Thanks in advance
Let us you have grid with id=”list”. Then you can use either
or documented
to get a reference to the array
colModel. Sowill get us the name of the corresponding column.