Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82117

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 82117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>