datatables icon indicating copy to clipboard operation
datatables copied to clipboard

Universal filter

Open vincjo opened this issue 4 months ago • 0 comments

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.

vincjo avatar Sep 05 '25 09:09 vincjo