-
Notifications
You must be signed in to change notification settings - Fork 104
Add filtering support to TreeDataGrid #382
base: master
Are you sure you want to change the base?
Conversation
- Introduce IsFilterEnabled option for text columns - Add ShowColumnFilters property to TreeDataGrid - Implement filter UI in column headers and wire up filter logic - Update FlatTreeDataGridSource to handle column filters and filter application - Update templates and view models to enable filtering for relevant columns
|
It would be great if filter text were a property you can bind to. Then developers would have more control over how they want to use the filters and display them in the user interface. Because as much as I like the feature, I don't like the textboxes underneath the column names. If you can do this its great, but it would be better if its more flexible. Furthermore, as much as I appreciate your work, I'm not sure if it's generally a good idea to add a filter just for text columns. Ideally, the code should at least be designed in such a way that it could support other columns later on (if not right from the start). |
|
Thanks for the feedback. I'm not in a hurry to merge the PR, but just to share my work early. Will take the ideas into further design |
…ns and updating related interfaces
…ptions and improving filter control creation
…g and updating filter control visibility
|
One more note: the architecture of TreeDataGrid is not clean enough to add new features easily. I have to work around type systems from time to time. Maybe it's the issue for all MVVM frameworks |

Uh oh!
There was an error while loading. Please reload this page.