A component for displaying tabular data with features like sorting, pagination, and selection.
For more examples, visit the Storybook.
<StudsDataGrid>
ParametersGets or sets the data source.
If true, columns can be sorted by clicking on the column header.
If true, the grid will display pagination controls.
The number of rows to display per page when paging is enabled.
Gets or sets the page numbers count.
Gets or sets the total count of items.
If true, shows the empty message when there are no records.
If true, shows the grid headers.
Default width for all columns.
Caption text for the grid.
Text to display when there are no records.
If true, displays a loading indicator.
Specifies the selection mode behavior (Single or Multiple).
If true, clicking a row will select it.
Specifies the inline edit mode behavior (Single or Multiple).
If true, the grid will go to the first page when sorting is changed.
Gets or sets the key property.
Gets or sets the selected rows.
Callback fired when the selected rows change.
Callback used to load child data for hierarchical grids.
Callback fired when a column is sorted.
Callback fired when a column is grouped.
Callback fired when the visible columns change.
Callback fired when a row is selected.
Callback fired when a row is deselected.
Callback fired when a row is clicked.
Callback fired when a row is double-clicked.
Callback fired when a cell is clicked.
Callback fired when a cell is double-clicked.
Callback fired when a cell context menu is triggered.
Callback fired when a key is pressed in the grid.
Callback fired when a row is edited.
Callback fired when a row is updated.
Callback fired when a row is created.
Action to customize row rendering attributes.
Action to customize cell rendering attributes.
Action to customize header cell rendering attributes.
Action to customize footer cell rendering attributes.
Async callback for render customization.
Action for render customization.
Action for loading settings.
Callback fired when the page size changes.
Callback for custom data loading.
Gets or sets DataGrid settings.
Callback fired when settings change.
Gets or sets the columns template.
Custom header template.
Custom footer template.
Template to display when there are no records.
Template to display while loading.
Template for row edit mode.
Template for row display.
Specifies additional custom attributes that will be rendered by the component.
Gets or sets the callback that is invoked when the mouse enters an item.
Gets or sets the callback that is invoked when the mouse leaves an item.
A callback that will be invoked when the user right-clicks the component. Commonly used to display a context menu.
Gets or sets the culture used to display localizable data (numbers, dates). Set by default to “CultureInfo.CurrentCulture”.
Gets or sets the inline CSS style.
Gets or sets a value indicating whether this “T:Studs.StudsComponent” is visible. Invisible components are not rendered.
<StudsDataGridColumn>
ParametersChild columns for grouping or composite columns.
Whether to allow checkbox list virtualization.
Unique identifier for the column.
Order index for column positioning.
Sort order for the column.
Gets or sets a value indicating whether this column is visible.
Gets or sets the header tooltip.
Gets or sets the column title.
Gets or sets the property name.
Gets or sets the sort property name (if different from Property).
Gets or sets the column width.
Gets or sets the minimum column width.
Format string to apply to the column values.
CSS class to apply to data cells in this column.
Function that returns a CSS class based on the item and column.
CSS class to apply to the header cell of this column.
CSS class to apply to the footer cell of this column.
If false, this column cannot be sorted.
The text alignment in this column.
Custom cell template.
Custom edit template.
Function that determines if this column is in edit mode.
Custom header template.
Custom footer template.
Gets or sets the data type.
Gets or sets the IFormatProvider used for FormatString.
Gets or sets the filter operator.
For more examples, visit the Storybook.
<StudsDataGrid>
ParametersGets or sets the data source.
If true, columns can be sorted by clicking on the column header.
If true, the grid will display pagination controls.
The number of rows to display per page when paging is enabled.
Gets or sets the page numbers count.
Gets or sets the total count of items.
If true, shows the empty message when there are no records.
If true, shows the grid headers.
Default width for all columns.
Caption text for the grid.
Text to display when there are no records.
If true, displays a loading indicator.
Specifies the selection mode behavior (Single or Multiple).
If true, clicking a row will select it.
Specifies the inline edit mode behavior (Single or Multiple).
If true, the grid will go to the first page when sorting is changed.
Gets or sets the key property.
Gets or sets the selected rows.
Callback fired when the selected rows change.
Callback used to load child data for hierarchical grids.
Callback fired when a column is sorted.
Callback fired when a column is grouped.
Callback fired when the visible columns change.
Callback fired when a row is selected.
Callback fired when a row is deselected.
Callback fired when a row is clicked.
Callback fired when a row is double-clicked.
Callback fired when a cell is clicked.
Callback fired when a cell is double-clicked.
Callback fired when a cell context menu is triggered.
Callback fired when a key is pressed in the grid.
Callback fired when a row is edited.
Callback fired when a row is updated.
Callback fired when a row is created.
Action to customize row rendering attributes.
Action to customize cell rendering attributes.
Action to customize header cell rendering attributes.
Action to customize footer cell rendering attributes.
Async callback for render customization.
Action for render customization.
Action for loading settings.
Callback fired when the page size changes.
Callback for custom data loading.
Gets or sets DataGrid settings.
Callback fired when settings change.
Gets or sets the columns template.
Custom header template.
Custom footer template.
Template to display when there are no records.
Template to display while loading.
Template for row edit mode.
Template for row display.
Specifies additional custom attributes that will be rendered by the component.
Gets or sets the callback that is invoked when the mouse enters an item.
Gets or sets the callback that is invoked when the mouse leaves an item.
A callback that will be invoked when the user right-clicks the component. Commonly used to display a context menu.
Gets or sets the culture used to display localizable data (numbers, dates). Set by default to “CultureInfo.CurrentCulture”.
Gets or sets the inline CSS style.
Gets or sets a value indicating whether this “T:Studs.StudsComponent” is visible. Invisible components are not rendered.
<StudsDataGridColumn>
ParametersChild columns for grouping or composite columns.
Whether to allow checkbox list virtualization.
Unique identifier for the column.
Order index for column positioning.
Sort order for the column.
Gets or sets a value indicating whether this column is visible.
Gets or sets the header tooltip.
Gets or sets the column title.
Gets or sets the property name.
Gets or sets the sort property name (if different from Property).
Gets or sets the column width.
Gets or sets the minimum column width.
Format string to apply to the column values.
CSS class to apply to data cells in this column.
Function that returns a CSS class based on the item and column.
CSS class to apply to the header cell of this column.
CSS class to apply to the footer cell of this column.
If false, this column cannot be sorted.
The text alignment in this column.
Custom cell template.
Custom edit template.
Function that determines if this column is in edit mode.
Custom header template.
Custom footer template.
Gets or sets the data type.
Gets or sets the IFormatProvider used for FormatString.
Gets or sets the filter operator.