Search
11430 results 8861-8870
Forum
- 10th Aug 2020Datatable remains filtered after filtering?You are right.Thanks Kevin.
- 2nd Jul 2020DataTable Column Filtering Not Pulling in ValuesWe're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here. Cheers, Colin
- 18th Jun 2020Greater than date as the second filterable valueThat's fantastic Kevin! Thank you so much. It works perfectly!
- 12th Apr 2020Transform Column filteringThe documentation is here: https://datatables.net/examples/api/multi_filter_select.html
- 6th Mar 2020problem with state save on datatable server side and custom filters with yajra datatablesstateSave by default will keep track of paging, searching and ordering. Can you give more details on what you're trying to achieve, please. Colin
- 4th Feb 2020Use 'Index Column' and 'Column Filters' features togetherHi Kevin, Thank you very much. I will follow that way next time. I have fixed the issue for now. Following code worked for me successfully. $(document).ready(function() { // Setup - add a text input to each footer cell $('#OrdersTable thead tr').clone(true).appendTo( '#OrdersTable thead' ); $('#OrdersTable thead tr:eq(1) th').each( function (i) { var title = $(this).text(); $(this).html( '<input type="text" placeholder="Search '+title+'" />' ); $( 'input', this ).on( 'keyup change', function () { if ( table.column(i).search() !== this.value ) { table .column(i) .search( this.value ) .draw(); } } ); } ); var table = $('#OrdersTable').DataTable( { orderCellsTop: true, fixedHeader: { header: true, footer: true }, "columnDefs": [ { "searchable": false, "orderable": false, "targets": 0 } ], "order": [[ 1, 'asc' ]] } ); table.on( 'order.dt search.dt', function () { table.column(0, {search:'applied', order:'applied'}).nodes().each( function (cell, i) { cell.innerHTML = i+1; } ); } ).draw(); } );
- 24th Oct 2019Column filtering with hidden field returns search for wrong columnFantastic! Datatables is simple, yet can get complex as you tailor it, which should be expected. It seems that you have worked out most of the issues which indicates a reasonably mature product. When possible, its definitely worth the time to drill down a problem to the smallest scope possible, and post a link from the live site. Solutions are usually pretty quick then.
- 20th Aug 2019How do you make your own filters and buttonsHi @Wiezo , This example here should help - it's showing that. Cheers, Colin
- 16th Jul 2019How do I add checkbox filtering to a DataTable?You may be interested in this thread too. Its a simplified version of Colin's example. Just more options to show how this can be done :smile: Kevin
- 15th Mar 2019Cant Get Column Filters Working On My DTFigured, it was because i had the following set to false searching: false