Hi Randy,
Thank you for your interest in Syncfusion products.
Query : How to define the hover style of a row ?
We suggest you to use “RecordMouseHoverColor” property of TableOptions to set background color for mouse hover. Please refer below code snippet for details.
<Syncfusion:GridGroupingControl ID="GridGroupingControl1" runat="server">
<TableOptions RecordMouseHoverColor='Gray' />
Please let us know if you have any concerns.
Rakesh D
Hi Randy,
Thank you for using Syncfusion products.
Query : How to define the hover style of a row ?
We suspect that you are using custom skin of grid grouping control. We suggest you to use the CssClass name properly such that it won’t break the styles of CSS. Set the custom Css class name by using “CssClass” property in GridGroupingControl and refer it properly wherever CssClass is used. Please refer below code snippet for further details.
<Syncfusion:GridGroupingControl ID="GridGroupingControl1" CssClass="GridInsense" >
<TableOptions RecordMouseHoverColor="Gray" />
<Appearance>
<AnyRecordFieldCell CssClass="GridInsenseAnyRecord"></AnyRecordFieldCell>
. . . .
Please refer our online documentation which will be helpful for your reference.
Documentation Link: http://help.syncfusion.com/ug/asp.net/grid/default.htm#!documents/customskins.htm
For your convenience we have prepared a sample for the above
scenario and it is attached below. Please refer to it. If you still face the
issue could you please get back to us by reproducing the issue in the below
sample.
Please let us know if you have any concerns.
Regards,
Rakesh D
<Appearance>
<AnyRecordFieldCell CssClass='EGAnyRecord'></AnyRecordFieldCell>
// Here EG is the customcss class and the highlighted ones are defult
class for record fields.
<AlternateRecordFieldCell CssClass='EGAlternateRecord'></AlternateRecordFieldCell>
<RecordPreviewCell CssClass='EGRecordPreview' />
<GroupIndentCell CssClass='EGGroupIndentCell' />
<GroupCaptionCell CssClass='EGGroupCaption' />
<AnySummaryCell CssClass='EGAnySummary' />
<GroupCaptionPlusMinusCell CssClass='EGPlusMinus' />
<TopLeftHeaderCell CssClass='EGTopLeftHeaderCell' />
<RowHeaderCell CssClass='EGRowHeaders' />
<ColumnHeaderCell CssClass='EGColumnHeaders' />
<GroupHeaderRowHeaderCell CssClass='EGGroupedColumnHeaders' />
<FilterBarCell CssClass='EGFilterBarCell' />
</Appearance>
Hi Randy,
Thanks for your update. We are glad to know that your issue has been resolved. Please let us know if you have any other concerns so that we will be happy to help you out.
Rakesh D