SkipGroupsFocus Property
See Also

| Grid Control ActiveX Control v24.0 | ||||||||
|---|---|---|---|---|---|---|---|---|
Description
Specifies whether groups are skipped when navigating the GridControl with the Up and Down keys.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property SkipGroupsFocus() As Boolean
Remarks
By default, SkipGroupsFocus is True. If True, when navigating the rows with the Up and Down keys in the GridControl, the group headings will be skipped, and the next non-group heading row will be selected.
If False, when navigating the rows with the Up and Down keys in the GridControl, all rows will be selected, even group headings.
SkipGroupsFocus also affects selection when using the mouse. When selecting multiple rows and SkipGroupsFocus is False, all group rows will become selected. If True, then group rows won't be selected.
Example
Disabling SkipGroupsFocus (Visual Basic)
This sample illustrates how to disable SkipGroupsFocus. This will allow group rows to have focus when using the Up and Down arrow keys to select rows in the GridControl.
' This will disable SkipGroupsFocus, now GroupRows can have focus
' When the Up and Down keys are used to navigate the rows in the
' GridControl.
wndGridControl.SkipGroupsFocus = False
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.