BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Bryan,
Thanks for your interest in Syncfusion products.
From the reported query it seems that the intention is to highlight records based on filter
criteria.
To Highlight
Records:
To highlight records you can make use of the
PrepareViewStyleInfo event / QueryCellStyleInfo event.
Sample:
I have attached a
sample of how to highlight the current record(Using PrepareViewStyleInfo event). Please use the selection mode tab in
the application and choose the available radiobutton mode as such as how you
want to highlight the selected grid cells record.
Link: http://www.syncfusion.com/downloads/Support/DirectTrac/109372/cs.zip
//PepareViewStyleInfo
event…..
Tweak the customizsation
code to get the selected rows..
// Highlight the current row with SystemColors.Highlight and bold font
if
(e.RowIndex > grid.Model.Rows.HeaderCount && e.ColIndex >
grid.Model.Cols.HeaderCount
&&
cc.HasCurrentCellAt(e.RowIndex))
{
e.Style.Interior
= new BrushInfo(SystemColors.Highlight);
e.Style.TextColor
= SystemColors.HighlightText;
e.Style.Font.Bold
= true;
}
Please let me know if you have any concerns.
Regards,
Arun.
Hi Bryan,
We are glad to hear the issue is resolved in your end.
Please create a new incident or new forum thread for any of your newer queries.
Regards,
Arun.