Hi,
The ask is for a feature request to take the already wonderfully done globally applied filter features down to a per column basis without the overhead and burden of resorting to the custom FilterMenuTemplate approach.
The current way of doing business creates much overhead in code particularly when several columns are involved.
Something like:
<TelerikGrid Data="@MyData"
FilterMode="@GridFilterMode.PerColumn"
<GridColumns>
<GridColumn Field="MyField01" FilterMode="@GridFilterColumnMode.FilterRow" />
<GridColumn Field="MyField02" FilterMode="@GridFilterColumnMode.FilterMenu" />
<GridColumn Field="MyField03" Filterable="false"/>
etc..
</GridColumns>
</TelerikGrid>
Thanks!
Ron
Hello Ron,
We discussed the proposal with our UX team and our consensus is that mixing filter modes will make the UI too complex and potentially confusing for the end users. For example, the columns that use menu filtering will have empty cells in the filter row, which can give the impression that these columns are not filterable (especially if the header cells show a column menu icon instead of a filter icon).
As a result, we prefer not to implement such a behavior. Sorry about that.
If you want to allow users to use checkbox list filtering with FilteRow filter mode, then my suggestion is to add a MultiSelect with Single TagMode or with MaxAllowedTags to a <FilterCellTemplate>. In this way all columns will benefit from filtering UI that is readily available and visible all the time.
Regards,
Dimo
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hi Dimo,
Sure no problem.
Say one column has "free text", one would naturally want to do a text search.
Another column has discrete (enumerable) values, one would naturally like to use a list or check box to filter.
By way of a use case example, say we are building a dashboard to display service health alerts.
The column holding "Service" (discrete values) would present checkboxes.
The column holding "Title" (free text) would present a text field.
I see a post where someone (presumably) asked to have both text search and dropdown:
https://www.telerik.com/blazor-ui/documentation/knowledge-base/grid-combine-filters-checkbox
Between you and me, I'd say that is more a UI faux pas than what I'm illustrating.
Thanks!
Ron
Hi Ron,
I understand the essence of the feature request, however, as it's a bit unusual, I would like to have a justification and more information about it. Why do you need to mix the filtering modes, which will result in more complex UI and UX? Is this a request by your users, client, UX designers...? What specific benefit will a potential enhancement bring for you?
Regards,
Dimo
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hi Dimo,
First I'm not trying to solve a problem per se, more like providing an outline for a possible feature request.
I thought my example was clear, but let's try another way.
For a Blazor grid, you can have all of the column row filters either set to one mode or the other:
Either "FilterRow" where every column that allows filters shows a text box where you can do a text based filter.
-or-
Either "FilterMenu" where every column that allows filters shows all the unique values for a column you can select from either in a menu or check boxes.
Great this is fine.
However, if you want to have some columns with a text box and others with a menu or check box list - you need to jump though hoops to use a FilterMenuTemplate with supporting functions. In my humble opinion, this seems to be a workaround for a feature that should come out of the box.
The feature request is to allow each column to operate in a "FilterRow" or a "FilterMenu" mode without any additional code or markup whatsoever.
Is this something Telerik would entertain for a possible future release?
Many thanks!
Ron
Hello Ron,
Can you please describe in more detail what specific problems or limitations are you trying to solve with a column-specific filter mode?
Regards,
Dimo
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.