datatables
datatables copied to clipboard
Universal filter
Discussed in https://github.com/vincjo/datatables/discussions/164
Originally posted by dzialdowski May 7, 2025
Is it possible to create an universal filter, where we give universal function, defined as (row: Row) => boolean, just like basic javascript [].filter() method argument?
My use case is to have simple check, where one value in one column differs from value in another column, but I don't see any way to do something like (row) => {return row.idA != row.idB}
This feature would allow us to implement basically any conditions we want, including previously mentioned one.