Skip to main content
Version: 1.0.1

ListViewExportToExcel

@spartanfx/react v1.0.1


@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' } }]}
/>