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:
parent
cab0c534f1
commit
e89958cb45
@ -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>';
|
||||
* }
|
||||
* ]
|
||||
* } ]
|
||||
* } );
|
||||
* } );
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user