add an option of a column afterwards
add an option of a column afterwards
cablesky
Posts: 2Questions: 0Answers: 0
Hello!
How can i add an Option of a column afterwards?
I would like to set a filter in a table when I click on the respective cell.
e.g. I want to set a filter in column A when I click something in column A, row 3.
How do you do something like that?
I always fail because I can't set the "filterList" option for the column afterwards...
Replies
I'm not sure that this is what you want, but, it is what I've understood from the above (apologies if I've misunderstood!).
http://live.datatables.net/suyevito/1/edit
Click a cell in the table and it will filter the table down to rows with data matching that, in that column. The position and office columns are best for that in this example.
Allan
Thank you very much! This is exact what i want - but with mui-datatables! (https://github.com/gregnb/mui-datatables )
mui-datatables is a completely different library. You will need to contact the developer of that library for help.
Kevin