Custom Filter Row Template: FilterDescriptorCollection keeps only one FilterDescriptor

1 Answer 12 Views
Grid
Rayko
Top achievements
Rank 1
Iron
Rayko asked on 01 Feb 2022, 08:32 PM

Hi,

In reference to the "Custom Filter Row Template" example (https://docs.telerik.com/blazor-ui/components/grid/templates/filter#filter-row-template) I've found following issue:

Every time when the function "SetupFilterRule()" is called the FilterDescriptorCollections contains only "theFilterContext.FilterDescriptor.FilterDescriptors[0]". Even when "filter2" is added to the collection... the next time the function is called the collection contains only filter1.

Is there any way to keep added filters in the collection?

 

Best regards,

Rayko

1 Answer, 1 is accepted

Sort by
0
Hristian Stefanov
Telerik team
answered on 04 Feb 2022, 03:39 PM

Hi Rayko,

This can be indeed problematic behavior in some scenarios. That being said, we have a public item planned for a fix on our Public Feedback Portal regarding the problem:

Custom Filter Row Template not updated by setting the Grid State

You can subscribe to the above item to receive email notifications for status updates. Please keep an eye there for further updates.

Regards,
Hristian Stefanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Rayko
Top achievements
Rank 1
Iron
Answers by
Hristian Stefanov
Telerik team
Share this question
or