Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

DataGrid.setSelectedRows

Selects the rows associated with the specified bookmarks.

Syntax

public void setSelectedRows( Object[] bookmarks )

Parameters

bookmarks

An array of bookmarks associated with the rows to be selected.

Remarks

Calling setSelectedRows clears any previous selection in the grid. Note that you cannot select both rows and columns at the same time. To programmatically select columns, call setSelectedColumns.

The DataGrid control does not support the selection of single cells.

See Also   getSelectedRows, clearSelection