• What is KendoReact
  • Getting Started
  • Server Components
  • Components
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

Pass data to GridColumnMenuCheckboxFilter from Grid context

Environment

Product Version5.12.0
ProductProgress® 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

Example
View Source
Change Theme:

In this article

Not finding the help you need?