0.0.23 • Published 2 years ago
ticatec-data-sheet v0.0.23
Ticatec-Adavance-Data-Sheet
列定义
定义一个单行表头
let header = [
{
label: '摘要',
field: 'summary',
sortable: false,
align: CellAlign.Left,
resizable: true,
weight: 1
},
{
label: '单价',
field: 'unitPrice',
sortable: true,
align: CellAlign.Right,
resizable: false,
format: value => utils.formatCurrency(value)
},
{
label: '数量',
field: 'amount',
sortable: true,
align: CellAlign.Right,
resizable: false
},
]
这是一个复合表头
let header = [
{
label: '摘要',
field: 'summary',
sortable: false,
align: CellAlign.Left,
resizable: true,
weight: 1
},
{
label: '处理信息',
coulumns: [
{
label: '处理人',
},
{
}
]
},
{
label: '数量',
field: 'amount',
sortable: true,
align: CellAlign.Right,
resizable: false
},
]
Datasheet编辑器
setData(data:Array) getData():Array
支持的类型: 1. 文字输入 2. 数字输入 3. 日期选择 4. 时间输入 5. 日期和时间选择输入 6. 下拉框 7. 弹出框 8. 用户自己定义的类型
0.0.20
2 years ago
0.0.21
2 years ago
0.0.22
2 years ago
0.0.23
2 years ago
0.0.15
2 years ago
0.0.16
2 years ago
0.0.17
2 years ago
0.0.18
2 years ago
0.0.19
2 years ago
0.0.10
2 years ago
0.0.11
2 years ago
0.0.12
2 years ago
0.0.13
2 years ago
0.0.14
2 years ago
0.0.1
2 years ago
0.0.2
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.1.1
3 years ago
0.1.0
3 years ago