Skip to main content
Version: 2.1.4

ListView

3p-core v2.1.4


3p-core / ListView

Variable: ListView

const ListView: React.FunctionComponent<IListViewProps>

Renders a powerful, configurable SharePoint list viewer with support for:

  • Fluent UI DetailsList and responsive tile view
  • Column filtering, sorting, and search
  • Export to Excel
  • Infinite scrolling
  • Custom field renderers

This component is highly extensible and can be themed, localized, and dynamically updated through the ListViewService.

Examples

<ListView
listViewService={listViewService}
columns={[
{ fieldName: 'Title' },
{ fieldName: 'Status' }
]}
context={context}
/>
<ListView
listViewService={listViewService}
columns={[
{ fieldName: 'Title' },
{ fieldName: 'Status' }
]}
context={context}
selectionMode={SelectionMode.multiple}
onSelectionChanged={(selectedItems: any[]) => console.log(selectedtems)}
/>