SMART datagrid v.1 > Classes > EditOptions

[ grids ver.1.3.4]   Back  Forward

DataLudi.EditOptions.rowEventsWhenCheckAll  property

If specify as true, when the user changes the checked state of the entire rows by clicking check all box with mouse, GridBase.onRowChecked event will be fired in each individual row of which state is changed. After have changed all, onAllChecked event will be fired. 

Defaults to 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
Check Bar