telerik / kendo-react

Issue tracker - KendoReact http://www.telerik.com/kendo-react-ui/
https://kendo-react-teal.vercel.app
Other
209 stars 36 forks source link

Issue with the GridColumnMenuFilter.active when the checkbox filter is used #1167

Open tejashdesai opened 2 years ago

tejashdesai commented 2 years ago

I am implementing the Checkbox filter into the grid and the requirement is to highlight the filter icon if the filter is applied to the column.

I have found the demo to highlight the icon and implemented it. https://www.telerik.com/kendo-react-ui/components/grid/columns/column-menu/#toc-styling-the-column-menu-icon

It is working fine with the 2 filters only.

When more than 3 filters are applied, it is not highlighting the filter icon.

I have resolved it and created the demo for it. Please check into the following link. https://stackblitz.com/edit/react-aeqckn?file=app%2Fmain.tsx

Please let me know if this is the correct implementation or not.

If yes then this will be helpful to other developers.

simonssspirit commented 2 years ago

Currently, this option is missing from the GridColumnMenuCheckboxFilter.

I will leave this item and add this to our ToDo list.

kdikov82 commented 1 year ago

We have internal logic that fails with more than 2 filters. A temporary workaround can be found in the following example: https://stackblitz.com/edit/react-skkquv-ytekuc?file=app%2Fmain.tsx

iadnonov commented 1 month ago

Reported again in: https://github.com/telerik/kendo-react/issues/2314