Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Select Rows and Cells

  • 2 minutes to read

Read Tutorial: Select Rows and Cells in Code

#Select Individual Rows and Cells

End users can use the navigation keys and mouse to select individual data items within the GridControl.

#Select Multiple Items

To select all visible data items:

  1. Check that the cell’s in-place editor is closed;
  2. Press Ctrl + A.

Note

Check that the DataViewBase.NavigationStyle and DataControlBase.SelectionMode properties are not set to None.

#Select Multiple Rows

Refer to the Row Selection topic for information on multiple row selection modes.

#The Row Selection Mode

#The MultipleRow Selection Mode

  • Click a row to select/unselect it:

  • Focus a row with the keyboard and press Space to select/unselect it:

#Select Multiple Cells

Refer to the following help topic for more information: Multiple Cell Selection Mode.

  • Hold Ctrl and click multiple cells to select/unselect them:

  • Select the initial cell, hold Shift, and use the mouse or navigation keys to select the last cell of the range:

  • Hold Ctrl, focus a cell with the keyboard, and press Space to select/unselect it:

  • Hold the left mouse button and drag the pointer to select a range of cells (also, you can use the Selection Rectangle):

See Also