Pravin.Pawar
9 Nov 2012, 2:39 AM
Hi,
I want to get dataIndex value on the render event of ExtJS grid. I have created following function to render values -
function onGridRender(value, meta, record, rowIndex, columnIndex) {
//var c = record.get('change');
}
I have created grid dynamically and NOT sure about the columns names (dataIndex) values so I can't hard coded those values as shown in commented line above.
Render function has value, record, rowIndex and columnIndex somehow columns indexes are not unique as I'm locking some of the grid columns which are disturbing the indexes on lock/ unlock
Please let me know how should I get dataIndex e.g. "change" in render event.
I want to get dataIndex value on the render event of ExtJS grid. I have created following function to render values -
function onGridRender(value, meta, record, rowIndex, columnIndex) {
//var c = record.get('change');
}
I have created grid dynamically and NOT sure about the columns names (dataIndex) values so I can't hard coded those values as shown in commented line above.
Render function has value, record, rowIndex and columnIndex somehow columns indexes are not unique as I'm locking some of the grid columns which are disturbing the indexes on lock/ unlock
Please let me know how should I get dataIndex e.g. "change" in render event.