Title: datatable mRender fn
Last modified: August 30, 2016

---

# datatable mRender fn

 *  Resolved [cwkean87](https://wordpress.org/support/users/cwkean87/)
 * (@cwkean87)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/datatable-mrender-fn/)
 * Firstly, thank you so much for this awesome plugin. it has been very helpful 
   for me. however, i need to use datatable mrender fn lately and i failed to make
   it work. I am new in php and have no idea how to add the ‘mRender’: function (){}
   into the datatable option.
 * Please help.
 * Thanks in advance.
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/datatable-mrender-fn/#post-6293725)
 * 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](http://datatables.net/reference/option/columns.render),
   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](https://www.datatables.net/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.
 *  Thread Starter [cwkean87](https://wordpress.org/support/users/cwkean87/)
 * (@cwkean87)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/datatable-mrender-fn/#post-6293774)
 * 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](https://wordpress.org/support/topic/datatable-mrender-fn/...?output_format=md)
 * any idea on how to accomplish this is much appreciated.
 * Thanks.
 *  Thread Starter [cwkean87](https://wordpress.org/support/users/cwkean87/)
 * (@cwkean87)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/datatable-mrender-fn/#post-6293776)
 * or in other word, how do i apply the following code into the plugin?
 * “render”: function ( data, type, full, meta ) {
    return ‘[Download](https://wordpress.org/support/topic/datatable-mrender-fn/&apos;+data+&apos;?output_format=md)‘;}
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/datatable-mrender-fn/#post-6293798)
 * 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.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘datatable mRender fn’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

## Tags

 * [datatables](https://wordpress.org/support/topic-tag/datatables/)

 * 4 replies
 * 2 participants
 * Last reply from: [Meitar](https://wordpress.org/support/users/meitar/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/datatable-mrender-fn/#post-6293798)
 * Status: resolved