1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-19 12:52:11 +01:00

Fix docs: Example for mRender has a syntax error

This commit is contained in:
Allan Jardine 2012-10-26 08:02:59 +01:00
parent cab0c534f1
commit e89958cb45

View File

@ -404,14 +404,13 @@ DataTable.defaults.column = {
* // Use as a function to create a link from the data source
* $(document).ready( function() {
* $('#example').dataTable( {
* "columnDefs": [
* {
* "columnDefs": [ {
* "targets": [ 0 ],
* "data": "download_link",
* "render": function ( data, type, full ) {
* return '<a href="'+data+'">Download</a>';
* }
* ]
* } ]
* } );
* } );
*/