How can i do dependency search in dataTable
How can i do dependency search in dataTable

Hi ,
I have a problem i don't know it is posible or not ,if it is posible please let me know ,
I am taking data from this reference https://datatables.net/examples/data_sources/server_side.html .
Here I can do multiple search also like based on comma i have done this in ssp.class.php file
this is my code
$parts = explode(",",$str);
foreach ($parts as $part) {
$part = trim($part);
if (strlen($part) == 0) {
continue;
}
and my issue is if I search in First Name
I am getting data after that can do search in Last Name
by the result of First Name
.
For Instance ,I search First Name
with name Tom
then I get all Tom
names ,after that I need particuler Last Name
of Tom
Thanks
Sandeep
This question has an accepted answers - jump to answer
Answers
Hi Sandeep,
Would a column filter do what you need? See this example.
Allan
Hi Allan,
Thanks for you valuable response and that is correct ans and I am sorry ,I am new to this dataTable concept so where i need to change my existing code or from where i need to take the code from that link ,am i supposed to do change in ssp.class.php or page1.php, could you please explain me that is so help for me .
Thanks
Sandeep