2021-02-19 11:45:02 -05:00
# SharePoint Framework DataTable web part sample
## Summary
2021-02-22 23:12:41 -05:00
This web part provides easy way to render SharePoint custom list in datatable view with all the necessary features.
## Features
2021-02-19 11:45:02 -05:00
- Searching (Configurable)
- Sorting (Configurable)
- Download as a CSV and PDF,
- Pagination,
- Column Ordering,
- Dynamic colors for odd and even rows.
![Preview ](assets/preview.png?raw=true "Preview" )
2021-02-22 23:12:41 -05:00
## Compatibility
![SPFx 1.11 ](https://img.shields.io/badge/SPFx-1.11.0-green.svg )
![Node.js LTS 10.x ](https://img.shields.io/badge/Node.js-LTS%2010.x-green.svg )
![SharePoint Online ](https://img.shields.io/badge/SharePoint-Online-yellow.svg )
![Teams N/A: Untested with Microsoft Teams ](https://img.shields.io/badge/Teams-N%2FA-lightgrey.svg "Untested with Microsoft Teams" )
![Workbench Hosted: Does not work with local workbench ](https://img.shields.io/badge/Workbench-Hosted-yellow.svg "Does not work with local workbench" )
2021-02-19 11:45:02 -05:00
## Applies to
* [SharePoint Framework ](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview )
* [Office 365 tenant ](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment )
## Solution
Solution|Author(s)
--------|---------
2021-02-22 23:12:41 -05:00
react-datatable | Chandani Prajapati ([@Chandani_SPD](https://twitter.com/Chandani_SPD))
2021-02-19 11:45:02 -05:00
## Version history
Version|Date|Comments
-------|----|--------
2021-02-22 23:20:54 -05:00
1.0|February 19, 2021|Initial release
2021-02-28 11:39:06 -05:00
1.1|February 24, 2021|Added support for large lists
2021-03-01 01:00:00 -05:00
1.2|March 01, 2021|Fixed search issue for number field
2021-02-19 11:45:02 -05:00
## 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:
* `npm install`
* `gulp serve`
< img src = "https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/react-datatable" / >