Column Filter Checkbox - .active method bug?

1 Answer 58 Views
Grid
Janki
Top achievements
Rank 4
Bronze
Iron
Iron
Janki asked on 17 Oct 2023, 02:22 PM

Hi there,

I think I've found a bug, but want to run it past you first in case it's known/there's a workaround. I put checkbox filters in this grid: https://codesandbox.io/s/romantic-goldstine-hg8ttr

Bug repro steps:

  1. Filter the first or second column - pick 1 or 2 items ==> the active CSS shows (as expected!)
  2. Add a third or fourth item to the filter ==> the active CSS disappears (not as expected)

The bug: In general, when 3 or more items are chosen from the checkbox filter, the GridColumnMenuFilter.active() method does not return the correct value.

Is there a workaround for this (other than writing my own little check?) - maybe a utility fn that I could use to check the nested active filter state beyond the .active() method?

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantin Dikov
Telerik team
answered on 19 Oct 2023, 09:10 AM

Hi Janki,

This is a known issue with the checkbox filtering, because the internal logic fails after more than two filter expressions:

However, you will notice within the comments in the issue a workaround that can be used:

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
Grid
Asked by
Janki
Top achievements
Rank 4
Bronze
Iron
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or