Search
4218 results 1721-1730
Forum
- 4th Mar 2015Datatable searchingHi, Just an Idea. Using the following method to disable searching on certain columns. It will not search in the 2nd and 3rd column. $('#example').dataTable( { "columnDefs": [ { "targets": [ 2 ], "searchable": false }, { "targets": [ 3 ], "searchable": false } ] } );
- 3rd Mar 2015Unable to get columnDefs.render to work on columns coming from AJAX requestcolumns": displayColumns, "data": dataSet, "columnDefs": [ { // prevent ordering on the
- 26th Feb 2015Set data from json ( not file )Sorry I deleted columnDefs but the table didn't wire the name_colum with the definition of aoColumnDefs. I cannot fill this information: table.row.add( {"col_name1":"Tiger Nixon"} ).draw(); But don't work, instead this code is working: table.row.add( {"0":"Tiger Nixon" } ).draw();
- 22nd Feb 2015Individual columns search based on the 'Searchable' value of the colparams thus (for example): columnDefs: [ { searchable: false, targets: [ 3]
- 19th Feb 2015Need help for sorting date with dd/mm/yyyy formatgt; b) ? -1 : 0)); } columnDefs: [ { type: "datetime-au", "targets": 12
- 12th Feb 2015How to sort using a hidden column in 1.10.0Thanks @tangerine but that doesn't seem to work for me, does this look correct to you? // Sort column 1 by column 2 'columnDefs': [ { 'orderData':[2], 'targets': [1] }, { 'targets': [2], 'visible': false, 'searchable': false }, ],
- 7th Feb 2015Filtered data exported with table tools.filter: 'applied', order: 'current' } } ] }, "columnDefs": [ { "targets": [0], "visible": false,
- 5th Feb 2015disallow searching on hidden columnsok, so just so i understand. the only way to set a column as searchable (which is possible) is in the columnDefs when the table is created? $("#mytable").dataTable({ "columnDefs":[ ... ] }); which is not the same as $("#mytable").dataTable({ "columns": [...] });
- 30th Jan 2015render called twiceserverSide": true, "ajax": "/server_processing.php", "columnDefs": [ { "render": function ( data, type,
- 28th Jan 2015DataTables Inline Editor - Select Options not saving editField to tablethe DataTables columns and columnDefs objects. It has no