ajax data filter
ajax data filter

hello.
example1 Table, I want data.office to print only 'London' data.
Also example2 Table, data.office is 'San Francisco'.
my jsfiddle.
https://jsfiddle.net/xt9hjar2/3/
Is it possible? Please let me know how.
thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
https://jsfiddle.net/4jtncdqh/
You can also use this initialization option instead of the "init" event:
https://datatables.net/reference/option/initComplete
I solved this problem. thanks your reply! ^---^
Please tell us if data.office is London or New York.
How do you do it?
it's in the fiddle I posted:
same for the second example
i find that, two value search
example1.column(2).search('London|New York' , true, false).draw();
is right? thanks
Glad you got it working. Didn't know that you meant to see both, London and New York. Cheers