Conditional filter option

Conditional filter option

pankaj.malikpankaj.malik Posts: 1Questions: 1Answers: 0

Hi ,
Can we have columns filter with conditional value like Employee Code >100 and / OR < 200 . etc...

Answers

  • rf1234rf1234 Posts: 2,986Questions: 87Answers: 421

    sure; just take a look at this: https://datatables.net/forums/discussion/41003

    it also works if you have multiple tables on your page. You just need to check whether or not the row data of the respective table are defined or not because data tables is running through this with each row of every table on your page.

    You check your condition and if a row should be excluded from the display you return false otherwise you return true. That's it.

This discussion has been closed.