Search
11455 results 1791-1800
Forum
- 10th Mar 2023Add another select filterCan you link to a page showing the issue, per the forum rules please? Allan
- 10th Mar 2023Select2 filter and ScrollYThe example in that thread actually appears to work for me: I'm not seeing any duplicate headers there? Allan
- 5th Mar 2023How to get number of days in DataTables date range filter between Minimum Date and Maximum Date ?That is not a data tables related question, right. You'll find very many related threads on Stack Overflow. Depending on what date plug in you use (e.g. moment.js) you will prefer a different solution. Here is an example using moment.js: https://codepen.io/SitePoint/pen/eYmMjxG
- 3rd Mar 2023Datatables does not retain the selected filter column values if the value has special characters.I got my answer on stack exchange. Thanks. https://stackoverflow.com/questions/75631827/datatables-does-not-retain-the-selected-filter-column-values-if-the-value-has-sp
- 20th Feb 2023I cannot remove unnesessary filter conditionsResolved with columns.searchBuilderType: 'string' parameter
- 15th Jan 2023Display search panes filter items horizontally.You could do something like this, here's the panes are stacked vertically alongside the table. Colin
- 11th Jan 2023Make a filter condition with a custom buttonI think you will want to move the keyup event handler outside the change event handler. Otherwise you will end up creating additional event handlers each time the code in line 7 is reached. Something like this: // Refilter the table $('#min, #max').on('change', function () { table.draw(); }); // Reload the dataTable on a delete event $('#min, #max').keyup(function(e){ if(e.keyCode == 46 || e.keyCode == 8) { table.draw(); } }); Kevin
- 23rd Dec 2022Datatables filter with both cyrillic and latin at once@allan - the code works, however, until now I am still stuck with the formatted output. It being ignored by "my" script.. I've changed the to: Цедриц Келли so added bold formatting, and now it cannot be searched.. Any ideas how to fix that? This is the only thing I need and it will be perfect!
- 12th Dec 2022Auto filter 4 tables using one input fieldOne option to get the data from all the tables based on the search term is to use the search event for the first table. First get the search term using search(). Use rows().data() with the row-selector as a function for all the tables. Check if the search term is contained within the row or certain columns as required. Kevin
- 28th Nov 2022Table.Draw() not working when ScrollX Enabled on table with drop down list filter for columnThanks very much.