Search
10143 results 601-610
Forum
- 26th Nov 2018How to clear single input default value from the Web Storage?Hi, I have date range filters (yadcf). I need to store all in web storage (stateSave: true) apart of those date filters. So when user will use them and than dicided to leave the page and come back later on, I would to clear filters. However, there are old filters values. I thought when I will use searchCols function that will overwrite it> However, it doesn't seem to work. Any idea how to restart filters after user come back to this same web page?
- 27th Jan 2018my exported excel sheet has header row collapsed by default.I have to drag to see the first row in excel. Please anyone help, would be much appreciated.
- 26th May 2017Sort in desc, then asc, and then default$('#example').DataTable({ data:data, retrieve: true, stateSave: true, scrollY:scrollHeight, scrollX:true, scrollCollapse: true, paging: false, fixedColumns: { leftColumns: 3, rightColumns: 0 }, info: false, destroy: true, searching: false, ordering:true, aaSorting: [], columnDefs: [ { "sorting":[ "desc", "asc" ], "targets": [ "_all" ] } ], columns:columnsData, createdRow: function ( row, data, index ) { $('td', row).attr('dataPlayerID',data.playerId); }, autoWidth: true, orderMulti: true, deferLoading: 0 }); what is happening now is when I sort, (same head not multiple sort) click1-desc click2-asc click3-desc what I need is click1-desc click2-asc click3-default load.
- 28th Sep 2016running a unrelated function is randomly clearing my datatable, goes back to default 'emptyTable'txtBeen having a hard time debugging this issue, but making some progress. I do know that it still displays 'no data available in table' even though i modified that text "language": { "emptyTable": "No data available in table, try changing your options or refresh your browser if the problem continues." } Also typing something in the search filter and clearing it, makes all the data come back. If there is any other info needed, ill provide. thanks!
- 3rd Aug 2016Default filter on load tableHi all, I have a problem with my dataTables, when I go to the link with a table it appears to be filtered and doesn't show all data inside that table, without filtering anything before. Anyone with the same problem? Thanks in advance, Carl
- 3rd Mar 2016When setting up a default column order, can you pass an array variable as the array?Before the current version of dataTables, I created an array of indices of the column names, because the server-side program is written in Perl, which doesn't guarantee the order of the keys in the hash that gets returned by Ajax. So I parse the hash and build an array, which worked perfectly before. Now, colReorder.order isn't picking up the array (unless I'm not doing it right, which is very likely)
- 6th Feb 2016Set the Cancel button as default in the Editor modalI have several tables on the page. So to get a cancel button in the editor modal for each table, I write the following code (also for "edit" and "delete" in accordance). editor.create({ title: 'Create new record', buttons: [ 'Create', { label: 'Cancel', fn: function() { this.close(); } } ] }); Is it possible to change code in one place so that the editor modal always contains the cancel button?
- 4th Dec 2015Can I change the number of entries being displayed in table? (The default is 10). Can I change it?Not critical, but it would be nice to be able to change the value. Thanks!
- 13th Nov 2015Dynamic order defaultHi! Is it possible to dynamically set the order option? Thank you?
- 3rd Sep 2015Php default updateI have a columns: [{data: null, defaultContent-> value from php. Is there a way to update this value when Ajax reload?