New to KendoReact? Start a free 30-day trial
Enable Grid scrollbar conditionally based on page size
Environment
Product Version | 5.12.0 |
Product | Progress® KendoReact Grid |
Description
I want to enable the scrollable functionality of the Grid if page size is higher than 10
Solution
This can be achieved by setting the scrollable property of the Grid from a state variable and update its value based on the current page size (either within the onPageChange or within the onDataStateChange event)
This is an example showcasing this approach:
Change Theme
Theme
Loading ...