SMART datagrid v.1 > Classes > EditOptions
如果指定为true,就会在用户通过使用鼠标而点击check all框,变更所有行的Checked状态时, 将会在各个状态发生变更的个别行中,触发GridBase.onRowChecked事件。 在全部变更之后,将会触发onAllChecked事件。
默认值为false.
grid.setOptions({
edit: {
rowEventsWhenCheckAll: true
}
});
grid.setEditOptions({
rowEventsWhenCheckAll: true
});
grid.editOptions().setRowEventsWhenCheckAll(true);