FlexGrid's AllowResizing method lets a user resize the column by simply touching or tapping the handle between two columns. You can restrict resizing of grid columns at runtime by setting the AllowResizing to GridAllowResizing.None
. To allow resizing of columns at runtime, set the method to GridAllowResizing.Columns
. You can also allow resizing for specific columns instead of the entire FlexGrid. In such as case, use AllowResizing method for columns.
The resizing functionality for columns is useful when a user wants to add data in FlexGrid. Users can simply resize the column directly on the device as per their requirement, without requiring to change or set the width in code.
C# |
Copy Code |
---|---|
//set resizing on columns
grid.AllowResizing = GridAllowResizing.Columns; |