Datatable search multiple columns and multiple values
Datatable search multiple columns and multiple values

Im trying to search about multiple columns with different values each columns.
Col A parameter : John
Col B parameter : U.S.A
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @davdavcoco ,
Use
column().search()
,Cheers,
Colin
Hey thanks for fast answering @colin
do i just need to use that and search multiple times, like
dTable.column(0).search(parameter1).draw()
dTable.column(1).search(parameter2).draw()
?Yep, or you can chain it together so it only needs the one draw - see here.
C
@colin
sry before... i can't open the link u provide.. it is only show like javascript and animation..
Yep, if you run it, it'll show you how to do the search.
It's only doing this:
so you won't miss much if it doesn't work for you...
thanks @colin
works well