How do I get the column index in cellattr function in jqgrid?
===

Does anyone know how I work out the column index when using a cellattr function in jqgrid? In a formatter function in jqGrid, like this:

    function lineCellFormatter(cellvalue, options, rowObject) {

I can access options.pos to get the index of the column I'm formatting. However, in the cellattr function

    function lineCellAttributes(rowId, val, rawObject, cm,rdata) {

there doesn't seem to be a way to get this? Also "rdata" is just coming back as "true" for me - not as described in the docs?