frappe/datatable

Filter rows or columns

MartijnHarmenzon opened this issue · 2 comments

@netchampfaris Is there a way to filter the datatable based on a value? For example, you have an input in which you can type the search value. Can you then, with JavaScript, use this value to filter the datatable and show only rows and columns containing this search value.
An example would be much appreciated.

Anyone?

You mean the column filters?

Screen Shot 2021-03-19 at 17 04 13

It filters rows based on a few operators: contains, <, >, =, !=, : (range)

Screen Shot 2021-03-19 at 17 05 58