GridViewStyles.FocusedGroupRow Property
Specifies the appearance of the focused group row.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
GridViewGroupRowStyle | Style settings that specify the appearance of the focused group row. |
Remarks
Set the AllowFocusedRow property to true
to enable row focus.
When row focus is disabled, the style settings of the focused group row are not in effect.
The FocusedGroupRow
property allows you to specify the appearance of the focused group row in markup and in a CSS class.
Markup Example
<dx:ASPxGridView ID="ASPxGridView1" >
<%--...--%>
<Styles>
<FocusedGroupRow BackColor="Brown" ForeColor="Yellow" >
</FocusedGroupRow>
</Styles>
</dx:ASPxGridView>
CSS Example
#ASPxGridView1 .focusedGroupRowStyle td{
background-color: Brown;
}
<dx:ASPxGridView ID="ASPxGridView1" >
<%--...--%>
<Styles>
<FocusedRow CssClass="focusedGroupRowStyle" />
</Styles>
</dx:ASPxGridView>
See Also