Search
11430 results 8871-8880
Forum
- 7th Feb 2019Custom Filtering (specifically greater than) server-sideLastly, there is https://datatables.net/reference/option/ajax.data (probably the right answer) . But this example seems more towards finding a specific word like searching a first name for Fred. Not finding "math" variables like below $100.
- 9th Jan 2019filtering (based loosely on column filtering example), but with a numeric or date rangeHere is a number range example that might get you started: https://datatables.net/examples/plug-ins/range_filtering.html Kevin
- 10th Dec 2018Datatable not filtering with datepickerWithout seeing a test case its hard to say but I suspect the problem is due to passing a float to the moment function moment(date).isSameOrAfter(min). According to the docs it takes a string with certain formats: https://momentjs.com/docs/#/parsing/string/ You need to troubleshoot what is going on with your if statement. The comparison is always returning false. Kevin
- 16th Oct 2018Upgrading from 1.10.15 to 1.10.18 breaks (multiple column) smart filtering?During my workflow I minify all my js-files with grunt (not using your supplied minified version). The eslint-task throws a few errors, including the computed-property-spacing error among others (no trailing spaces, no tabs, no unsed vars, ...). For example, it wants [ variable ] to be [variable] without the spaces. When replacing ] with ] (without a space), it also changed some regular expressions in the source code, resulting in my problem. I will just ignore these errors for now and have marked your last post as the answer to my question so it does not show up as unanswered anymore. Thanks for your help and best regards!
- 11th Oct 2018Undefined index error when creating a new row, on page that filters for dataOk I got it. I created a second editor instance for the row creation, and directed the buttons to call it. Now it works. var editor2 = new $.fn.dataTable.Editor( { ajax: '/index.php/Ajax/subUnit', table: '#subUnit', fields: [ { "label": "dataname:", "name": "dataname" }, { "label": "design:", "name": "design" }, { "label": "actual:", "name": "actual" } ] } ); and buttons: [ 'pdf', { extend: 'create', editor: editor2 }, { extend: 'edit', editor: editor2 }, { extend: 'remove', editor: editor2 } ]
- 19th Sep 2018Custom filters are even more brokensettings.nTable.id !== "tableIdOfInterest" ) { return true; } // filtering logic for `tableIdOfInterest` } ); Yes
- 27th Jun 2018Adding additional filtering row headerI suppose it is an extenstion of that thread but not the same - first thread lead me to a potential solution - now I am trying to implement
- 26th Jun 2018change cell data by row and column indexes or filtersthanks again @Colin, using row id's to select rows make more sense now because of the ever-changing order as you said. I'll use id's to select rows.
- 12th Jun 2018Checkbox Filtering as And-OperatorHi Colin, I don't know what to say.... I'm speechless. Thank you so much for your help. That's great!! Cheers, NIklas
- 22nd May 2018Fixed Filtering not workingHi @rahulcapgemi That live fiddle would help with this one - there's a lot going on with those columns. Cheers, Colin