Datatable Filtering Question
Datatable Filtering Question
Hello, I'm currently encountering an odd filtering 'bug' - I guess you could call it that - where our search terms return results just fine. However, it won't 'reset' to displaying everything if you delete the filtered text - It just gets stuck on a 'Processing' alert. Now, if you simply hit the spacebar and place a standard space in the filter box to replace the text, everything loads as it should.
This is in regards to an Opencart extension, but the coding itself is that of Datatables. Has anyone encountered this error elsewhere in basic Datatable work? Forgive my terminology, I'm just trying to find a fix because it's a minor inconvenience for our team and seemingly cannot find anything about this elsewhere.
To break it down in an example:
Type in search/filter box 'Captain America' (no leading space), all results relating to Captain America appear. Then, I delete 'Captain America' from the filter box, 'Processing' appears, no change. I place a single space from the spacebar in the empty field, everything loads as it should.
Answers
Sounds like a Javascript error is occurring. I'd need a link showing the issue, as required in the forum rules, to be able to offer any help. You'll be able to see from the examples on this site you should be quite able to delete input values.
Allan