It would be nice if we could add a custom dropdown filter field that is permanently displayed above the grid, so clients can use it to filter the resources.
Use case example: we have a grid that is filled with static resources. Each static resource has a user id saved in the link_attributes field (for convenience, but could also be a TV). We would like to place a dropdown list above the grid which lists all users from specified user groups. When selecting a user, the grid should update to show only the resources which have the user id of the selected user in the link_attributes field. This filter should be set in advance by the site admin, so other site users don't have to create the filter themselves.
Steps involved would be (I think):
1) choosing what is displayed in the dropdown list (in this case the users from specified usergroups - could be multiple groups). Or just all users if that's easier. And in what way, like username==id
2) choosing what 'where' filter has to be applied. In this case: get all resources where link_attributes = user id.
Would this be difficult to implement? Would you think of adding this?
I've added a mockup of what it could look like.
[ed. note: michelle84 last edited this post 9 years, 6 months ago.]