The following grids demonstrate how selections work in a dojox/grid/DataGrid.
In the following Grid, no special selector view is used, but
rowSelector is specified in the arguments to the constructor.
The row selector behaves according to the rules of the grid's
In the following Grid, the leftmost column is actually a separate view of type
Notice how using the checkbox selectors follows its own behavior—in
this case, although the Grid is in
extended selection mode,
which is still in effect when selecting rows via other data cells,
clicking on the checkboxes does not follow that behavior.
(In fact, it's closer to the behavior of the