Duplicated
Last Updated: 30 Jun 2023 09:36 by ADMIN
Brent
Created on: 02 Feb 2023 18:19
Category: Grid
Type: Feature Request
0
TelerikCheckBoxListFilter with TextField and ValueField

I'm trying to use the FilterMenu with the CheckBoxListFilter, and it seems like it's sooo close to what I want, if it only had an option for FieldText and FeildValue or something like that. Any way I can get this working to use the ID field as the value and the Name as the text? The highlighted section below is what I would envision it working perfectly as.

<GridColumn Field="@nameof(WorkActivity.WorkGroupId)" Title="Work Group" Width="135px">
            <FilterMenuTemplate Context="context">
                <TelerikCheckBoxListFilter Data="@WorkGroups"
                                           Field="@(nameof(WorkGroup.Name))" FieldValue="@(nameof(WorkGroup.Id))" 
                                           @bind-FilterDescriptor="@context.FilterDescriptor">
                </TelerikCheckBoxListFilter>
            </FilterMenuTemplate>
Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Dimo
Posted on: 03 Feb 2023 11:53

Hello Brent,

Indeed, this sounds like a meaningful feature request, so I am converting it to a public item.

In the meantime, a more manual approach to render the checkboxes and build the filter descriptor is the only option.

Regards,
Dimo
Progress Telerik

Learn about the important changes coming in UI for Blazor 4.0 in January 2023!