Class AutoGenerateColumnsMode
Defines the constants that specifies how to auto-generate the columns.
Inheritance
System.Object
AutoGenerateColumnsMode
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public sealed class AutoGenerateColumnsMode : Enum
Fields
None
Generates the columns based on the explicit column definition in DataGrid.
Declaration
public const AutoGenerateColumnsMode None
Field Value
Type |
---|
AutoGenerateColumnsMode |
Reset
Generates the columns based on the properties defined in the underlying data object and explicit column definition.
Declaration
public const AutoGenerateColumnsMode Reset
Field Value
Type |
---|
AutoGenerateColumnsMode |
ResetAll
Generates the columns based on the properties defined in the underlying data object.
Declaration
public const AutoGenerateColumnsMode ResetAll
Field Value
Type |
---|
AutoGenerateColumnsMode |
RetainOld
Generates the columns based on the properties defined in the underlying data object, when the SfDataGrid doesn’t have an explicit column definition.
Declaration
public const AutoGenerateColumnsMode RetainOld
Field Value
Type |
---|
AutoGenerateColumnsMode |
SmartReset
Generates the columns and retains data operation based on the properties defined in underlying data object.
Declaration
public const AutoGenerateColumnsMode SmartReset
Field Value
Type |
---|
AutoGenerateColumnsMode |