1.0.31 • Published 4 years ago
data-driven-ui v1.0.31
data-driven-ui
Auto created by metadata Lists and Forms
User capabilities
- Filtering, Ordering, Paging with saving it in url
- Show/hide filter
- Autofilter by cell value (Click with alt, for dateperiod left/right alt)
Developer capabilities
- Data source types
- odata
- local storage (js array)
- graphql in plans
- Default UI realization in MaterialUI with many components
- You can do full custom UI realization or only add new types of field
- All configuration in json by data (style, value) etc, for example: style: (meta, item, rowIdx, columnIdx) => {return item.ShipCountry === 'USA' ? {backgroundColor: 'green'} : undefined}
Simple example of list settings
this.meta = {
columns: [
{ name: "OrderID", orderable: true },
{ name: "CustomerID" },
{ name: "OrderDate", type: "date" },
{ name: "RequiredDate", type: "date" },
{ name: "ShippedDate", type: "date" },
{ name: "ShipCountry" }
],
key: "OrderID",
orderable: true,
filters: [
{ name: "ShipCountry", type: "text" },
{ name: "OrderDate", type: "dateperiod" }
],
paging: {},
selectable: { type: "row&checkbox", isMulti: true },
parsHolder: {
type: "addressBar",
prefix: "",
history: this.props.history
},
dataSource: { type: "odata", shortPath: `Orders`, selectAll: true }
};
Examples
1.0.31
4 years ago
1.0.29
4 years ago
1.0.28
4 years ago
1.0.30
4 years ago
1.0.27
4 years ago
1.0.26
4 years ago
1.0.25
4 years ago
1.0.24
4 years ago
1.0.23
4 years ago
1.0.22
4 years ago
1.0.21
4 years ago
1.0.20
4 years ago
1.0.19
4 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.11
4 years ago
1.0.12
4 years ago
1.0.9
4 years ago
1.0.10
4 years ago
1.0.8
4 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
0.1.17
5 years ago
0.1.16
5 years ago
0.1.15
5 years ago
0.1.14
5 years ago
0.1.13
5 years ago
0.1.12
5 years ago
0.1.11
5 years ago
0.1.10
5 years ago
0.1.9
5 years ago
0.1.8
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago