Skip to main content

IListViewServiceConfig

@spartanfx/react v1.2.2


@spartanfx/react / spfx / IListViewServiceConfig

Interface: IListViewServiceConfig

Configuration options for initializing a ListViewService instance.

Deprecated

DEPRECATED - Use useSharePointDataTable hook with DataTable instead.

Replacement: DataTable component with useSharePointDataTable hook.

Properties

Required

PropertyTypeDescription
listNamestringThe title (display name) of the SharePoint list to query.
spSPFIPnPjs SPFI instance used to communicate with SharePoint.

Options

PropertyTypeDescription
camlQuery?stringOptional CAML query string to control list view filtering and structure.
inPlaceSearchText?stringOptional search string for server-side search via InplaceSearchQuery.
rowLimit?numberThe maximum number of rows to fetch per request. Defaults to 100.

Events & callbacks

PropertyTypeDescription
inPlaceFilterItems?(item) => booleanOptional filter function applied to list items client-side after retrieval.