BooleanChecker Class

File
wijmo.grid.selector.js
Module
wijmo.grid.selector
Base Class
Selector
Show
   

Class that adds extra checkboxes to header and group cells of FlexGrid boolean columns to allow setting the values for all items or groups.

** Note **: When you attach a BooleanChecker to a Column, you may also want to set the column's aggregate property to First, so the grid will create cells on group header rows to hold the checkboxes used to set the boolean values for the groups.

Constructor

Properties

Methods

Events

Constructor

constructor

constructor(column?: Column, options?: any): BooleanChecker

Initializes a new instance of the BooleanChecker class.

Parameters
Returns
BooleanChecker

Properties

column

Gets or sets the Column to be used by this Selector.

Inherited From
Selector
Type
Column

showCheckAll

Gets or sets a value that determines whether to show a 'Check All' items checkbox on the column header.

The default value for this property is **true**.

Inherited From
Selector
Type
boolean

Methods

onColumnChanged

onColumnChanged(e?: EventArgs): void

Raises the columnChanged event.

Parameters
Inherited From
Selector
Returns
void

onColumnChanging

onColumnChanging(e: CancelEventArgs): boolean

Raises the columnChanging event.

Parameters
Inherited From
Selector
Returns
boolean

onItemChecked

onItemChecked(e?: EventArgs): void

Raises the itemChecked event.

Parameters
Inherited From
Selector
Returns
void

Events

columnChanged

Occurs after the value of the column property changes.

Inherited From
Selector
Arguments
EventArgs

columnChanging

Occurs before the value of the column property changes.

Inherited From
Selector
Arguments
CancelEventArgs

itemChecked

Occurs when the user checks an item on this column.

Inherited From
Selector
Arguments
EventArgs