ListViewExportToExcel
3p-core / 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' } }]}
/>