表格列扩展类型
# tagfield
标签列。
# color
string | ({ row, columns: columns, value: cellValue }) => string
配置标签渲染的颜色。
# renderer
string | ({ row, columns: columns, value: cellValue }) => string
配置标签渲染的文本。
# qrcode
二维码列。
提示
当使用二维码列时,需要调整行高。
mainGrid: {
//...
columns: [
{
xtype: 'qrcode'
}
//...
]
headerRowStyle: ({ row }) => {
return {
height: '100px'
}
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
# fieldfield 基本不用
文件上传列。
# tableId
string
业务表名称。
# valueId
string
业务取值字段。
默认值: 'id'