AD
Administrator
Syncfusion Team
January 3, 2007 04:21 AM UTC
Hi Sathish,
>>>>>> 1. I was to apply a text colour for a particular cell in PrepareViewStyleInfo event.
You can use the e.Style.TextColor property to change the color of the text in a cell. Here is a code snippet.
e.Style.TextColor = Color.Red;
>>>>>> 2. I was to refresh a particular cell in PrepareViewStyleInfo event.
Try calling InvalidateRange method to refresh the specified range in a grid.
(sender as GridControl).InvalidateRange(GridRangeInfo.Cell(e.RowIndex,e.ColIndex));
Best Regards,
Haneef