/
/
Resize

This sample demonstrates the TreeGrid column resizing feature. Click and drag at the right corner of each column header to resize the column.

More Details...

Description

The TreeGrid columns can be resized by clicking and dragging at the right edge of columns header. Set allowResizing property as true, to enable column resizing behavior in treegrid. You can also prevent the resize of the particular column by setting columns->allowResizing as false in columns definition. In this demo, allowResizing feature have enabled through by setting the allowResizing property as true and Task Name column can be resized between the range of minWidth (120px) and maxWidth (300px). Also, column resizing has been disabled in the Duration column. Injecting Module: TreeGrid features are segregated into individual feature-wise modules. To use resize feature, we need to inject Resize module using the TreeGrid.Inject(Resize) section. More information about Column Resizing can be found in this documentation section.