documentation issue

documentation issue

fabsznfabszn Posts: 1Questions: 0Answers: 0
edited October 2012 in Bug reports
Hello,

It seems there is a little bug in documentation sample. There missed an { in the sample regarding mrender feature.:

[code]// Use as a function to create a link from the data source
$(document).ready( function() {
var oTable = $('#example').dataTable( {
"aoColumnDefs": [
{
"aTargets": [ 0 ],
"mData": "download_link",
"mRender": function ( data, type, full ) {
return 'Download';
} // here
]
} );
} );
[/code]

The place where the { is missed is on line annoted with //here


Regards

fabszn

Replies

  • allanallan Posts: 63,687Questions: 1Answers: 10,500 Site admin
    Hi fabszn,

    Oops! Thanks for pointing that out. Documentation on the site is now fix and the fix for the source files will shortly be committed.

    Allan
This discussion has been closed.