IDataTableColumn
@spartanfx/react / index / IDataTableColumn
Interface: IDataTableColumn<T>
Defines a column in the DataTable component.
Can optionally include custom Fluent UI IColumn configuration for advanced rendering and behavior.
Type Parameters
T
T = any
The type of items in the DataTable (for type-safe fieldName)
Properties
Options
| Property | Type | Description |
|---|---|---|
detailsListColumn? | Partial<IColumn> | Optional customization of the column using Fluent UI DetailsList column settings. |
fieldName? | keyof T & string | Field name of the property to display in this column. Must be a valid key of the item type T. |