This is certainly something I need to look at in future - I'm afraid I'm tied up with other development at the moment, so it while be a while before I can get to it, but I've opened an issue on GitHub to ensure that it does get done: https://github.com/DataTables/FixedColumns/issues/18 .
I have data table with Ajax, I need to add action icon in the first columns, For this I need to shift first columns and data. I tried using "mRender()" method.
Can you help me on this, First column will have action item and then rest will be corresponding column and data. Tried shifting columns by changing colums Def index... but this will result miss order the data.
This is how I do it with 1.10: http://next.datatables.net/examples/api/row_details.html . It is much easier to use objects as the data source here, although it is possible with arrays using the `columns.data` ( mData in 1.9-) option.
Replies
Allan
I have data table with Ajax, I need to add action icon in the first columns, For this I need to shift first columns and data. I tried using "mRender()" method.
Can you help me on this, First column will have action item and then rest will be corresponding column and data. Tried shifting columns by changing colums Def index... but this will result miss order the data.
Allan