Plugin Author
Meitar
(@meitar)
Hmm, this plugin uses DataTables 1.10, which does not have an mRender option as far as I know. It has a columns.render option, though, which might be what you’re asking about? Either way, there are examples for that in the linked page.
Creating a custom function for your table is going to require some code no matter what, of course, so you may want to ask your question on the DataTables support forums since DataTables functions are not specific to this plugin and you’re more likely to get more help with that task there than here.
thank you for your prompt reply. the reason why i need to use the mrender fn is to show a clickable link into a button like Click Me
any idea on how to accomplish this is much appreciated.
Thanks.
or in other word, how do i apply the following code into the plugin?
“render”: function ( data, type, full, meta ) {
return ‘Download‘;
}
Plugin Author
Meitar
(@meitar)
You need to use the DataTables API to attach your custum function to the appropriate cell. Like I said before:
Creating a custom function for your table is going to require some code no matter what, of course, so you may want to ask your question on the DataTables support forums since DataTables functions are not specific to this plugin and you’re more likely to get more help with that task there than here.