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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Blink cell colours

Thread ID:

Created:

Updated:

Platform:

Replies:

94320 May 6,2010 08:46 AM UTC May 8,2010 07:15 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Colin Lomas
Asked On May 6, 2010 08:46 AM UTC

I'm sure this is a simple one but anyone any idea how i can change the default increase/decrease blink colours on a GridGroupingControl after setting:

myGrid.BlinkTime = 700;

thanks


Christopher Issac Sunder K [Syncfusion]
Replied On May 8, 2010 07:15 AM UTC

Hi Colin,

Thank you for your interest in Syncfusion products.

To change the default colors of Blink increased/Reduced, you can make use of “gridGroupingControl1_TableControlPrepareViewStyleInfo” event with the following code.


gridGroupingControl1.TableControlPrepareViewStyleInfo += new GridTableControlPrepareViewStyleInfoEventHandler(gridGroupingControl1_TableControlPrepareViewStyleInfo);
:
void gridGroupingControl1_TableControlPrepareViewStyleInfo(object sender, GridTableControlPrepareViewStyleInfoEventArgs e)
{
GridTableCellStyleInfo style = (GridTableCellStyleInfo)e.Inner.Style;
BlinkState bs = gridGroupingControl1.GetBlinkState(style.TableCellIdentity);

if (bs != BlinkState.None)
{
switch (bs)
{
case BlinkState.Increased:
e.Inner.Style.BackColor = Color.OliveDrab;
break;
case BlinkState.Reduced:
e.Inner.Style.BackColor = Color.Orange;
break;
}
}
}


Let me know if you have any further concerns.

Regards,
Christopher K.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;