I am using Server side processing and its working fine,
but now i need id for each tr.........
I am unable to generate the id for each tr.
Please help me out.........!!!
If you use fnRowCallback() ( http://datatables.net/usage/callbacks#fnRowCallback ) you can assign whatever ID you want to each row. If you want to base it on information in a column, this is quite readily done as well (based on information in the parameters).
Replies
Allan
Using the fnRowCallback function what would add add after
[code]"fnRowCallback": function( nRow, aData, iDisplayIndex ) { [/code]
to add the an index value from the first hidden column - aData[0] to the each rows id attribute.