SMART datagrid v.1 > Classes > EditOptions
如果为true并且readOnly为false,用户就可以在最后一行之后开始添加行。
默认值为false.
grid.setOptions({
edit: {
appendable: true,
insertable: false
}
});
grid.setEditOptions({
appendable: true,
insertable: false
});
grid.editOptions().setAppendable(false);