1、出现文本框,文本框中只能输入数字
{
field: "ApplyNumber", title: "申请数量", width: 50, align: "left",
editor: { type: 'numberbox', options: { precision: 0, min: 1 } }
}
后面参数中是用于设置最大值与最小值
1、出现文本框,文本框中只能输入数字
{
field: "ApplyNumber", title: "申请数量", width: 50, align: "left",
editor: { type: 'numberbox', options: { precision: 0, min: 1 } }
}
后面参数中是用于设置最大值与最小值