This list search web part allows the user to show data from lists or libraries. The web part can be used to (for more details see images below):
-
Open item data in modal window (same data shown in the table)
-
Open item detail in modal window (it allows to select the fields to show by list)
-
Other useful functionalities:
- General filter - the user can select which columns are filtered and which not
- Column filter on each column
- Item limit to show
- Item pagination
- Group items by any field
- Cache to retreive the items
- Get section color
- Show item count with custom message
Solution | Author(s) |
---|---|
react-list-search | Alberto Gutiérrez (@albertogperez) |
Version | Date | Comments |
---|---|---|
1.0 | December 20, 2020 | Initial release |
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
- Clone this repository
- In the command line run:
- Navigate to list-search-webpart
npm install
gulp serve
- Open the workbench on your Office 365 Developer tenant
- Test out the web part
- Download sppkg files from sppkg folder
- Upload files to App Catalog
This Web Part illustrates the following concepts on top of the SharePoint Framework:
- Using react for building SharePoint Framework client-side web parts
- Using PnP Js to retreive SharePoint data
- Using PnP Js to cache SharePoint data
- Connection between SharePoint Framework components using dynamic data
- Support of section backgrounds color
- Custom property pane control
- Use react-js-pagination library