com.smartgwt.client.docs

## Interface Selection

-     public interface Selection

  ### Selection

  APIs for marking `Record`s as selected and retrieving the selected record or records.

  Only applicable to a `DataBoundComponent` that manages a list of Records, or manages a data model that can be viewed as a list (for example, the current list of visible nodes on a tree can be treated as a list for selection purposes).

  See Also:
    `CellRecordMode`, `SelectionStyle`, `CubeGrid.getEventRow()`, `CubeGrid.getEventColumn()`, `FacetValueSelectionChangedEvent`, `CubeGrid.getSelectedCells()`, `CubeGrid.getSelectedCellIds()`, `CubeGrid.anyCellSelected()`, `CubeGrid.cellIsSelected(com.smartgwt.client.widgets.cube.CellRecord)`, `CubeGrid.selectCell(java.lang.String)`, `CubeGrid.deselectCell(java.lang.String)`, `CubeGrid.selectCells(com.smartgwt.client.widgets.cube.CellRecord[])`, `CubeGrid.deselectCells(com.smartgwt.client.widgets.cube.CellRecord[])`, `CubeGrid.selectAllCells()`, `CubeGrid.deselectAllCells()`, `CubeGrid.getSelectedFacetValues()`, `com.smartgwt.client.widgets.cube.CubeGrid#facetValuesSelected`, `CubeGrid.facetHasSelection(java.lang.String)`, `CubeGrid.getFacetsHavingSelection()`, `com.smartgwt.client.widgets.cube.CubeGrid#selectFacetValues`, `com.smartgwt.client.widgets.cube.CubeGrid#deselectFacetValues`, `CubeGrid.selectFacetValue(java.lang.String, java.lang.String)`, `CubeGrid.deselectFacetValue(java.lang.String, java.lang.String)`, `CubeGrid.selectAllFacetValues()`, `CubeGrid.deselectAllFacetValues()`, `CubeGrid.deselectAll()`, `com.smartgwt.client.widgets.cube.CubeGrid#cellSelectionChanged`, `ListGrid.getSelectedRecord()`, `ListGrid.getSelectedRecords()`, `ListGrid.isSelected(com.smartgwt.client.widgets.grid.ListGridRecord)`, `ListGrid.isPartiallySelected(com.smartgwt.client.widgets.grid.ListGridRecord)`, `com.smartgwt.client.widgets.toolbar.Toolbar#selectButton`, `com.smartgwt.client.widgets.toolbar.Toolbar#deselectButton`, `ListGrid.selectRecord(com.smartgwt.client.data.Record)`, `ListGrid.deselectRecord(com.smartgwt.client.data.Record)`, `ListGrid.selectRecords(int[])`, `ListGrid.deselectRecords(int[])`, `ListGrid.deselectAllRecords()`, `ListGrid.selectRange(int, int)`, `ListGrid.deselectRange(int, int)`, `ListGrid.anySelected()`, `ListGrid.selectSingleRecord(com.smartgwt.client.data.Record)`, `CellSelectionChangedEvent`, `SelectionEvent`, `SelectionUpdatedEvent`, `ListGrid.getSelection()`, `TileGrid.getSelection()`, `TileGrid.getSelectedRecord()`, `TileGrid.selectRecord(com.smartgwt.client.data.Record)`, `TileGrid.deselectRecord(com.smartgwt.client.data.Record)`, `TileGrid.selectRecords(int[])`, `TileGrid.selectRange(int, int)`, `TileGrid.deselectRecords(int[])`, `TileGrid.deselectRange(int, int)`, `TileGrid.selectAllRecords()`, `TileGrid.deselectAllRecords()`, `TileGrid.anySelected()`, `SelectionChangedEvent`, `ColumnTree.selectRecord(int, boolean, int)`, `ColumnTree.deselectRecord(com.smartgwt.client.data.Record, int)`, `ColumnTree.selectRecords(int[], boolean, int)`, `ColumnTree.deselectRecords(int[], int)`, `ColumnTree.selectAllRecords(int)`, `ColumnTree.deselectAllRecords(int)`, `ColumnTree.anySelected(int)`, `CellSelection.cellIsSelected(int, int)`, `CellSelection.anySelected()`, `CellSelection.getSelectedCells()`, `CellSelection.getSelectedRecord()`, `CellSelection.selectionChanged()`, `CellSelection.selectCell(int, int)`, `CellSelection.deselectCell(int, int)`, `CellSelection.selectCellList()`, `CellSelection.deselectCellList()`, `CellSelection.selectSingleCell(int, int)`, `com.smartgwt.client.widgets.calendar.Calendar#getSelectionManager`, `PickTreeItem.getCanSelectParentItems()`, `ListGrid.getSelection()`, `com.smartgwt.client.widgets.grid.ListGrid#getSelectionManager`, `ListGrid.getSelectionAppearance()`, `ListGrid.getCanSelectAll()`, `ListGrid.getShowHeaderPartialSelection()`, `ListGrid.getCanSelectGroups()`, `ListGrid.getShowPartialSelection()`, `ListGrid.getDeselectOnPartialCheckboxClick()`, `ListGrid.getSelectionType()`, `ListGrid.getSelectionProperty()`, `ListGrid.getCanDragSelect()`, `ListGrid.getCanDragSelectText()`, `TreeGrid.getSelectionProperty()`, `TreeGrid.getCanSelectAll()`, `Menu.getCanSelectParentItems()`, `TileGrid.getSelectionType()`