GithubHelp home page GithubHelp logo

youzi-wr / antd-edittable Goto Github PK

View Code? Open in Web Editor NEW
26.0 1.0 6.0 3.17 MB

使用antd实现表格增、删、编辑,分别基于react16.2和react16.3实现两种方式

HTML 11.57% JavaScript 85.39% CSS 3.05%

antd-edittable's Introduction

antd-editTable

使用antd实现表格增、删、编辑,分别基于react16.2和react16.3实现两种方式

背景

React在版本16.3-alpha里引入了新的Context API,antd3.10.0基于react16.3-alpha,利用React.createContext()特性实现表格编辑。

方式一:基于react16.2, antd8.4实现表格增、删、编辑,未实现校验功能

示例

example

Demo

https://codesandbox.io/s/v85jlv541y

方式二:基于react16.3, antd3.10实现表格增、删、编辑,已实现校验功能

示例

example

Demo

https://codesandbox.io/s/73zvp3vljx

antd-edittable's People

Contributors

youzi-wr avatar

Stargazers

Mark233 avatar  avatar mushroomlb avatar  avatar  avatar LC avatar ChasLui avatar winer110 avatar Roy.Yin avatar leeho avatar Emma avatar  avatar  avatar  avatar liuqingtao avatar  avatar Arnaud Benhamdine avatar PR. avatar Chris Fenos avatar liang ling avatar Robot. avatar 蔷薇 avatar newraina avatar Sure avatar  avatar afc163 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.