clearSelection();
The clearSelection method cancels cell selection.
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.
Seebsp;also: