55 lines
1.4 KiB
Markdown
55 lines
1.4 KiB
Markdown
|
# SharePoint Framework DataTable web part sample
|
||
|
|
||
|
## Summary
|
||
|
|
||
|
This webpart provides easy way to render sharepoint custom list in datatable view with all the necessary features.
|
||
|
|
||
|
## Fetaures :
|
||
|
- 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")
|
||
|
|
||
|
## Used SharePoint Framework Version
|
||
|
|
||
|
![1.11.0](https://img.shields.io/badge/version-1.11.0-green.svg)
|
||
|
|
||
|
## 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)
|
||
|
--------|---------
|
||
|
react-datatable | Chandani Prajapati ([@Chandani_SPD], (https://twitter.com/Chandani_SPD))
|
||
|
|
||
|
## Version history
|
||
|
|
||
|
Version|Date|Comments
|
||
|
-------|----|--------
|
||
|
1.0|February 29, 2021|Initial release
|
||
|
|
||
|
## 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" />
|