I am using DataTables and the TableTools
It is possible get row index in mRender? Something like this:
{
"mData": "someData",
"mRender" : function ( data, type, full ) {
**// get iDataRow somehow**
return '<a href="'+data+'">Download '+ **iDataRow** +'</a>';
}
}
- and not alter data for return of iDataRow
suggestions?
The evolution chain of the datatable render feature:
Example: columns.render - Use as a function to create a link from the data source.
Here are two related unanswered questions from datatable forum, but the first contains the references which helped me to find out the answer:
I do not know if you mean you want to get information of certain rows when you mean
iDataRow
.Good luck with the implementation