Skip to main content
Version: 1.0.5

ListViewExportToExcel

@spartanfx/react v1.0.5


@spartanfx/react / ListViewExportToExcel

Variable: ListViewExportToExcel

const ListViewExportToExcel: React.FunctionComponent<IListViewExportToExcelProps>

ListViewExportToExcel is a wrapper component that loads SharePoint list data and exports it as an Excel file using the ExportToExcelButton component.

It supports CAML queries, filtering, paging, sorting, and dynamic schema generation.

Example

<ListViewExportToExcel
listViewService={service}
columns={[{ fieldName: 'Title', detailsListColumn: { name: 'Title' } }]}
attributeOverride={{ Requestor: 'title' }}
/>