Problem with empty/null values in AJAX request in Individual column searching
Problem with empty/null values in AJAX request in Individual column searching
Hello datatables geeks,
I would like make a Individual column searching in my datatable,
but in AJAX request I have problem with nulls in column[number][search][value].
I don't know why I have null there.
Please help me ![]()


This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
We'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
http://live.datatables.net/huyifoje/2/edit
Your test case has some errors keeping it from running. I modified it to use the SSP objects template from here. The SSP column search seems to be working.
http://live.datatables.net/mohotozu/1/edit
Maybe I'm not understanding the issue.
Kevin
How can it works in yours on http://live.datatables.net/mohotozu/1/edit, but It works not on my localhost? I have the same lines of code for create inputs. But in controller I do not get search values from columns. I have only value of main search input, but I want make filter on false, and have only individual search. I do not know what to do with it
I think I understand the problem now. I see you have
filter: falsein your original post. There is not anfilteroption. Here is a list of all options:https://datatables.net/reference/option/
Instead of
filterit issearching. But you don't want to use that option because it will turn off the table's searching capabilities. To remove the default search input use thedomoption, something like thisdom: "lrtip".If this doesn't help then we will need to see the problem to help debug. Please post a link to your page or update the test case to show the problem.
Kevin
I do not how but now I have first name, last name, any search value. Thanks You