New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for simple filtering #255
Comments
As discussed with @JouniK and @platosha here's a proposal to start working with: As a first step, add When filters have been defined, the There would be a public function which would define the filtering method, by default it would a When using array data sources, changing the filters would always trigger filtering immediately and fire a Afterwards, we could design and apply a way how to also add a header row with input fields. |
I would not add a property to the column objects, as we don’t have the sortDirection property there either. I see that it could be there, but I would still start with just one addition grid.filter = [
{
column: index/name,
filter: string/object
},
...
]; The nested |
+1 for having this natively. |
2.0 will have the We won’t fix this for 1.x. |
In order to make it easier to understand how to filter a grid, I would like to see a
filter(column, string)
method in the API. With an array datasource, it would filter the array and with a function data source it would pass the filter parameter to the function.The text was updated successfully, but these errors were encountered: