Search
4198 results 1701-1710
Forum
- 13th Mar 2015Disable sorting of one columnThanks allen, Solved the issue as per your guidelines. Thanks a lot. $('#example').dataTable( { "order": [], "columnDefs": [ { "targets" : 'no-sort', "orderable": false, }] }); Thanks, Prem
- 6th Mar 2015Add data parameters before drawd.supersearch = $('.my-filter').val(); } }, columns: me.columns, columnDefs: me.renderer, initComplete: function() { } }); This
- 4th Mar 2015Can't clear or update datatabled.supersearch = $('.simply-filter').val(); } }, columns: me.columns, columnDefs: me.renderer }); function gridSearch(element){ var
- 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,