# 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. ![Preview](assets/preview.png?raw=true "Preview") ## 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") ## 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 19, 2021|Initial release 1.1|February 24, 2021|Added support for large lists ## 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`