IListViewProps
@spartanfx/react / spfx / IListViewProps
Interface: IListViewProps
Props for the ListView component, a flexible and extensible SharePoint list rendering control.
Supports both traditional DetailsList and responsive TileView, as well as filtering, sorting, searching, exporting, and context menus.
Properties
Required
| Property | Type | Default | Description |
|---|---|---|---|
columns | IListviewColumn[] | - | An array of columns to be rendered in the view, each mapping to a SharePoint field. |
context | WebPartContext | - | The SPFx web part context required for SharePoint API access and filtering. |
listViewService | ListViewService | - | A configured instance of the ListViewService to interact with the SharePoint list and its items. |
Options
Events & callbacks
Advanced & escape hatches
| Property | Type | Default | Description |
|---|---|---|---|
detailsListProps? | Partial<IDetailsListProps> | - | Optional overrides for Fluent UI's DetailsList props. |
extendedSearchBoxProps? | Partial<IExtendedSearchBoxProps> | - | Optional ExtendedSearchBox props. |
listViewExportToExcelProps? | Partial<IListViewExportToExcelProps> | - | Optional ListViewExportToExcel props. |
tileListProps? | Partial<ITileListProps> | - | Optional TileList props |