Filter by checkbox

Filter by checkbox

mlotfimlotfi Posts: 60Questions: 5Answers: 0
edited February 2014 in General
Hi,

I have a table that displays results, there is a column called "Disabled" that has value "F" or "T" , my table now displays all the rows, I have a checkbox called "Show only enabled", when checked it shows only rows with "F" value, when unchecked it will show rows with "T" value for "Disabled" column.

Everything is working fine,





Now, I was asked to show only "Disabled" equal to "T", and when the checkbox is checked it will show only the columns that has "F".

How to change my code to work like that ?
Thanks, your help is appreciated.

Replies

  • mlotfimlotfi Posts: 60Questions: 5Answers: 0
    I tried to include the js code in the question but when I submit the question I got an error.
This discussion has been closed.