Search not able to find records
Search not able to find records
CubE135
Posts: 4Questions: 1Answers: 0
Hey, i currently work on the following Datatable:
The problem is, when i for example search for "Jamie" no records are found, even though there clearly are some.
I can't figure out what's going on. I have several other Datatables that work the exact same way. But on all of those, the search works perfectly.
What's going on here? :P
This discussion has been closed.
Answers
Interesting. The only thing I can think about is that you might have set the option
searchable: false
on one or more columns.Can you search for other values?
Hey, thanks for your answer.
I can search for the first column, ID. Thats it ^^
As you can see below, searchable is not disabled.
Also, i noticed that sorting is not working correctly on a different table.
Same on the one i showed above:
Ok i found the issue.
Im using Server Side processing like this:
The problem here is, that i use
user_id
asdb
just because i have to use something. And Datatables is searching for that instead of what actually is shown on the table or returned above.I just don't know how to fix this.