Drip Tableis a dynamic table solution for enterprise level middle and background launched by JD retail. The project is based on React and JSON Schema . It aims to reduce the difficulty of developing table and improve work efficiency by simple configuration to quickly generate page dynamic table.
Drip Table contains serval sub projects: drip-table, drip-table-generator.
The introduction of each sub-project are as follows:
drip-table: the core library of the solution for building dynamic tables. It’s main ability is to render a dynamic table automatically when received data which conforms to the JSON Schema standard.
drip-table-generator: a visual tool for producing configuration data that meets the JSON Schema standard in order to sent to DripTable for rendering a table and columns.
Features
Basic table
Compound table
Toolbar
Renderer
Text component
Number component
Image component
Link component
Tag component
Button component
Select component
DataPicker component
PopUpPage component
RichText component
Group component
Custom component
Header slot
Footer slot
Pagination
Virtual list
Sticky
Sub table
Row selection
Row draggable
Fixed column
Show/Hide column
Edit data
Stripe
Table with border
Column resizing
Size
Global styles
Empty table prompt
Loading
Card layout
Filter
⬆️ Getting Start
Drip table is divided into two application scenarios: configuration end and application end. The configuration side is mainly responsible for generating JSON Schema standard data through visualization and low-code. The function of the application side is to render the JSON Schema standard configuration data into a dynamic table.
The configuration side
Install dependencies
The configuration side depend on the application side, please make sure that drip-table has been installed before installing dependencies.
yarn
yarn add drip-table-generator
npm
npm install --save drip-table-generator
Import at the entrance of a file
import DripTableGenerator from "drip-table-generator";
import "drip-table-generator/dist/index.min.css";
Use components in pages
return <DripTableGenerator />;
Then the configuration side can be rendered normally, as the sample screenshot below:
English | 简体中文 | Documentation | Discussions|Gitter | Official Wechat group
📖 Introduction
Drip Tableis a dynamic table solution for enterprise level middle and background launched by JD retail. The project is based onReactandJSON Schema. It aims to reduce the difficulty of developing table and improve work efficiency bysimple configurationto quickly generate page dynamic table.Drip Tablecontains serval sub projects:drip-table,drip-table-generator.The introduction of each sub-project are as follows:
drip-table: the core library of the solution for building dynamic tables. It’s main ability is to render a dynamic table automatically when received data which conforms to theJSON Schemastandard.drip-table-generator: a visual tool for producing configuration data that meets theJSON Schemastandard in order to sent toDripTablefor rendering a table and columns.Features
⬆️ Getting Start
Drip tableis divided into two application scenarios: configuration end and application end. The configuration side is mainly responsible for generatingJSON Schemastandard data through visualization andlow-code. The function of the application side is to render theJSON Schemastandard configuration data into a dynamic table.The configuration side
Install dependencies
The configuration side depend on the application side, please make sure that
drip-tablehas been installed before installing dependencies.Import at the entrance of a file
Use components in pages
Then the configuration side can be rendered normally, as the sample screenshot below:
The application side
Install dependencies
Install the
drip-table:Import at the entrance of a file
Use components in pages
Then the application side can be rendered normally, as the sample screenshot below:
🤝 Contribution
If you’re interested in this project, you’re welcome to create ✨issue. We are appreciated for your ❤️star.
development
Clone
Install dependencies
build independecies
Run project
drip-tabledemo page: /drip-table/guide/basic-demodrip-table-generatordemo page: /drip-table-generator/demoFor more commands, see DEVELOP . Please visit the official website address drip-table 。
Communication
Official Wechat group
License
MIT License