Pass data to GridColumnMenuCheckboxFilter from Grid context
Environment
Product Version | 5.12.0 |
Product | Progress® KendoReact |
Description
I have the data for the GridColumnMenuCheckboxFilter within the context of the Grid and I want to pass it to the column menu. How can I re-use the data.
Solution
For achieving the desired result the React Context can be used by wrapping it around the Grid component and then accessing the references to the data within the column menu.
Following is an example demonstrating this approach