SMART datagrid v.1 > Classes > EditOptions

[ grids ver.1.3.4]   Back  Forward

DataLudi.EditOptions.rowEventsWhenCheckAll  property

如果指定为true,就会在用户通过使用鼠标而点击check all框,变更所有行的Checked状态时, 将会在各个状态发生变更的个别行中,触发GridBase.onRowChecked事件。 在全部变更之后,将会触发onAllChecked事件。 

默认值为false.

Getter
function rowEventsWhenCheckAll(): Boolean
Setter
function setRowEventsWhenCheckAll(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            rowEventsWhenCheckAll: true
        }
    });
Code -2
    grid.setEditOptions({
        rowEventsWhenCheckAll: true
    });
Code -3
    grid.editOptions().setRowEventsWhenCheckAll(true);
See Also
GridBase.onRowChecked
GridBase.onAllChecked
GridBase.checkAll
Examples
试件