Unions
The following unions are available in the Data Grid component:
| Name | Value | Description |
|---|---|---|
| AggregateData | 'unknown' | Represents the structure of aggregate result values returned by the Data Grid component.
Includes raw numeric values for computation and formatted display values for rendering.
Raw values are keyed by Used in |
| EditMode | 'Normal' | 'Popup' | 'PopupTemplate' | 'Cell' | Defines the editing interaction mode for grid records.
|
| PopupSettings | 'Partial<ComponentProps<typeof Dialog>>' | Configuration settings for customizing the Syncfusion |
| ContextMenuItem | 'Edit' | 'Delete' | 'Save' | 'Cancel' | 'SortAscending' | 'SortDescending' | 'ClearSort' | 'FirstPage' | 'PrevPage' | 'LastPage' | 'NextPage' | 'SelectRow' | 'ClearRowSelection' | 'ClearSelection' | 'Sum' | 'Average' | 'Min' | 'Max' | 'Count' | 'TrueCount' | 'FalseCount' | 'Custom' | Defines the set of built-in context menu item types available in the Data Grid component. Specifies the standard actions that can be displayed in context menus when right-clicking on grid cells or rows. Used to configure which default menu items should appear in the context menu alongside custom items. |
| FilterType | 'FilterBar' | 'Excel' | 'CheckBox' | Defines the type of filter UI to be used in the Data Grid component. Controls the visual interface and behavior for applying filters to columns.
|
| IndicatorType | 'Spinner' | 'Shimmer' | Defines Loading Indicator of the Grid.
|
| PrintRange | 'All' | 'CurrentPage' | 'Custom' | Defines the range of rows to include in the print operation.
|
| ToolbarItems | 'Add' | 'Edit' | 'Update' | 'Delete' | 'Cancel' | 'Search' | 'ColumnChooser' | 'Print' | 'PdfExport' | Defines the set of actionable items displayed in the grid toolbar. Each item maps to a specific user command. Enables direct data operations, UI control.
|
| ValueType | 'number' | 'string' | 'Date' | 'boolean' | Defines the supported data types for grid values, used in filtering, sorting, and other operations.
|
| DetailRowTemplate | 'Function' | Represents a template function for rendering detail rows. Returns React elements that define the complete detail content, typically including a nested grid or custom components. |
| PdfExportRange | 'All' | 'CurrentPage' | 'Custom' | Defines the range of rows to export from the grid. Available options:
|
| IsRowSelectable | 'Function' | Callback type for determining row selectability and checkbox visibility per row. |