unseen1980 / FluentUIEditableDetailsList

Wrapper over Fluent UI DetailsList in React that allows in-place editability among other features

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FluidUI Editable DetailsList

Overview

FluentUI is a great UI library with some really cool controls, all adhering to Accessibility Standards.

DetailsList control of FluidUI is great when your requirement is a read-only grid. However, it does not offer any in-place editability functionality just yet.

This component(Editable DetailsList) is a wrapper over the existing DetailsList that makes in-place editability work like a dream(among many other new features).

Some of the features of the Editable Grid are:-

  • Single Cell Edit (in-place)
  • Single Row Edit (in-place)
  • Single Column Edit
  • Multi-Column, multi-row edit (Bulk Edit)
  • Full Edit (Edit Mode)
  • Deleting Rows
  • Adding Rows
  • Default Data Export (to Excel, CSV)
  • Implement Custom Export functionality
  • Callback hook to recieve grid data in the consuming component(for Save etc.)
  • Support for various controls in grid in-place edit like TextField, Multiline TextField, DatePicker (Support for Dropdown will be released soon)
  • Flexibility to implement onChange callback on any cell value change (For cases like calculating summation of a column etc)
  • Length Validations during edit
  • Type Validations during edit
  • The component is completely Accessible

Installation & Run

  • clone the repository on your local machine.
  • open the project
  • open terminal and change directory to your project path
  • type 'npm install'
  • after the installation is complete, type 'npm start'

This starts the project on port 8080 and you are ready to play around with the Editable DetailsList

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.


For more details please check out Fluent UI Editable DetailsList Wiki.

About

Wrapper over Fluent UI DetailsList in React that allows in-place editability among other features

License:MIT License


Languages

Language:TypeScript 64.4%Language:JavaScript 35.4%Language:Handlebars 0.1%Language:HTML 0.1%