documentation issue
documentation issue
fabszn
Posts: 1Questions: 0Answers: 0
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
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
This discussion has been closed.
Replies
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