We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Blink row in grid grouping control

I am using syncfusion ggc. Is it possible to blink one or more than one rows in ggc.

In my case on reciving notfication i have to blink a particular row or stop blinking the previous selected row or rows.

I will be v thankfull if anyone could help me in my above problem.

2 Replies

BP Bhuvaneswari P Syncfusion Team September 28, 2007 03:18 AM UTC

Hi Prabhjeet,

Yes, this is possible to blink a particular row by triggering the event TableControlPrepareViewStyleInfo. Please refer the below code snippet

//Sunscribe event
this.gridGroupingControl1.TableControlPrepareViewStyleInfo += new GridTableControlPrepareViewStyleInfoEventHandler(gridGroupingControl1_TableControlPrepareViewStyleInfo);
//Event
BlinkState bs = gridGroupingControl1.GetBlinkState(style.TableCellIdentity);
if (bs != BlinkState.None)
{
if (bs == BlinkState.Increased)
{
if (e.Inner.RowIndex >= 1)
{
e.Inner.Style.BackColor = Color.Black;
e.Inner.Style.TextColor = Color.Black;

}


}
else if(bs == BlinkState.NewRecord)
{
if (e.Inner.RowIndex >= 1)
{
e.Inner.Style.BackColor = Color.Red;
e.Inner.Style.TextColor = Color.Red;
}
}
}

in that we can specify the which row need to be blinked.

Please download the sample from the below link
http://websamples.syncfusion.com//samples/Grid.Windows/F68681/main.htm

Please let me know if you have any other queries.

Thank you for your interest in Syncfusion products.

Best Regards,
Bhuvana



CG Cyril George May 24, 2011 09:57 AM UTC

The link for sample is not working...


Loader.
Live Chat Icon For mobile
Up arrow icon