Filtering didn't work until I pressed the backspace - Fixed for me

Filtering didn't work until I pressed the backspace - Fixed for me

nobbiexxxnobbiexxx Posts: 1Questions: 0Answers: 0
edited September 2013 in General
I was having a problem with the filtering on a single table that was one of many on a page.
The results were only returned properly after pressing a backspace to erase the last character in the search box.

It turned out that I had another table with the same id as the problematic one and after renaming it the search worked fine. Hoorah!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Thanks for posting this - I'm sure others will find it useful. It is worth noting that an ID is unique in an HTML document, and DataTables assumes valid HTML is used.

    Allan
This discussion has been closed.