SharePoint Framework DataTable web part sample
Summary
This web part provides easy way to render SharePoint custom list in datatable view with all the necessary features.
Features
- Searching (Configurable)
- Sorting (Configurable)
- Download as a CSV and PDF,
- Pagination,
- Column Ordering,
- Dynamic colors for odd and even rows.
Compatibility
Applies to
Solution
Solution |
Author(s) |
react-datatable |
Chandani Prajapati (@Chandani_SPD) |
Version history
Version |
Date |
Comments |
1.0 |
February 19, 2021 |
Initial release |
1.1 |
February 24, 2021 |
Added support for large lists |
1.2 |
March 01, 2021 |
Fixed search issue for number field |
Disclaimer
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.
Minimal Path to Awesome
Local testing
- Clone the repository
cd
to web part's project folder
- In the command line run: