• Material
  • Fabric
  • Bootstrap
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse

Chart

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

DEMO
SOURCE

The Grid columns can be resized by clicking and dragging at the right corner of columns header. To enable column, resize behavior, set AllowResizing property as true. You can also prevent the resize of the particular column by setting Columns->AllowResizing as false in columns definition. And, by double clicking at the right corner of column header, the respective column width will get auto adjusted to its fit by AutoFitColumns method.


In this demo, allowResizing feature have enabled through by setting the AllowResizing property to true and Order ID column can be resized between the range of MinWidth (120px) and MaxWidth (300px). Also, column resizing has been disabled in the Shipped Date column.