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

TcxCustomGridTableOptionsSelection.UnselectFocusedRecordOnExit Property

Indicates whether to unselect the focused record when the current View loses focus.

#Declaration

Delphi
property UnselectFocusedRecordOnExit: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

When the MultiSelect property is True, a grid View enables you to select multiple records. The focused record in this mode can either be selected or not (when MultiSelect is False, the focused record is always selected). When a user clicks a specific record, it becomes focused and selected at the same time.

If the UnselectFocusedRecordOnExit property is True and no records are selected save the focused one, the record is automatically unselected on exiting the current View (when setting focus to another View or View clone). If several records are selected, the selection of the focused record is not affected.

The selection of the focused record persists if the UnselectFocusedRecordOnExit property is set to False as well.

The default value of the UnselectFocusedRecordOnExit property is True.

See Also