CellPicker.clearSelection

Syntax

clearSelection();

Description

The clearSelection method cancels cell selection.

Example

To execute the example, create the CellPicker component (see CellPicker constructor ) named CP. Add an event handler for SelectionChanged:

CP.SelectionChanged.add(function (sender, args) {

        for (var i = 5; i < args.RowCount; i++)

        {

            CP.clearSelection();

        }

    });

After executing the example on hovering over cells in the last (sixth) row, selection is removed.

See also:

CellPicker