Skip to content

Domino987/editable-material-table

Repository files navigation

Material Table Edit Component

This package is an editable table for material-ui.

Every cell is editable out of the box and new rows can be added or deleted.

Internally, it uses Formik and validation with YUP.

Screenshot

Example Display

Validation example

Requirement

To use editable-material-table, you must use react@16.8.0 or greater which includes hooks.

Installation

This package is distributed via npm.

$ yarn add editable-material-table
# or
$ npm install --save editable-material-table

Getting Started

  • import and render EditableTable
  • Add the data and column props
  • optional add YUP validation
  • Wait for the onSubmit save call

Author

This project follows the all-contributors specification. Contributions of any kind welcome!

Built with TSDX

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published