New to KendoReact? Start a free 30-day trial
Disable reordering of a specific column of the KendoReact Grid
Environment
Product Version | 6.2.0 |
Product | Progress® KendoReact Grid |
Description
I want to disable the reordering of one or more columns of the KendoReact Grid.
Solution
The orderIndex property to the GridColumn component allows you to restrict the column position at a specific place. For example, if you set the orderIndex
prop of the first column to 0
, it will not be possible to neither drag it to another position, or drag another column to it.
The following example demonstrates the above approach:
Change Theme
Theme
Loading ...