add an option of a column afterwards

add an option of a column afterwards

cableskycablesky 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

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    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

  • cableskycablesky Posts: 2Questions: 0Answers: 0
    edited January 2023

    Thank you very much! This is exact what i want - but with mui-datatables! (https://github.com/gregnb/mui-datatables )

  • kthorngrenkthorngren Posts: 21,343Questions: 26Answers: 4,954

    mui-datatables is a completely different library. You will need to contact the developer of that library for help.

    Kevin

Sign In or Register to comment.