Quantcast
Channel: DataTables 1.9 — DataTables forums
Viewing all articles
Browse latest Browse all 1816

Using DT_RowId within mRender to create a link

$
0
0
I am trying to reference the DT_RowId to create links using mRender. All my rows are correctly getting their id from the server-side DT_RowId. How can I refer to the row Id? Here is the code that produces "undefined" in place of the variable.
 
 "mRender": function ( data, type, full ) {
                                     return '<a href="?action=student_report&studentUID='+ data.DT_RowId + '">' + data + '</a>';
                                    }
 
Thanks.

Viewing all articles
Browse latest Browse all 1816

Trending Articles