Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix docs: Example for mRender has a syntax error

  • Loading branch information...
commit e89958cb4583c4454e9f6391b31ea851389efe3a 1 parent cab0c53
@DataTables authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 media/src/model/model.defaults.columns.js
View
5 media/src/model/model.defaults.columns.js
@@ -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>';
* }
- * ]
+ * } ]
* } );
* } );
*/
Please sign in to comment.
Something went wrong with that request. Please try again.