frappe / datatable

The Missing Javascript Datatable for the Web
https://frappe.io/datatable
MIT License
1.02k stars 164 forks source link

Filter rows or columns #97

Open MartijnHarmenzon opened 4 years ago

MartijnHarmenzon commented 4 years ago

@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.

MartijnHarmenzon commented 3 years ago

Anyone?

nameduser0 commented 3 years ago

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