ListViewExportToExcel
@spartanfx/react / ListViewExportToExcel
Variable: ListViewExportToExcel
constListViewExportToExcel: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' } }]}
/>