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

GridGroupingControl blinking on real time

Hi Syncfusion support, i would like to know whether can do the following on GridGroupingControl.

Scenario 1
I've a set of data binded in GridGroupingControl and datasource is refresh every few seconds. 

Whenever the record has change, the selected cell should have blinking effects and changing textcolor. (Not every cell, but only is certain cell which the value has changed from previous dataset)
eg. from value 1 to value 2, then the cell will have blinking effects and text color changed.

Any idea on how to implement this function? It is slightly similar stock market effects.

Scenario 2
Based on scenario 1, but the blinking effects will remain for around 10 - 15 seconds.

Every refresh maybe is around 2 to 5 seconds ... 

Refresh 1 => Value = 1
Refresh 2 => Value = 2 (Blinking effects, Red Color)
Refresh 3 => Value = 2 (Blinking effects, Red color)
Refresh 4 => Value = 2 (Blinking effects, Red color)
Refresh 5 => Value = 2 (Stop Blinking, and reset to default color, maybe black color text, due to over 15 seconds and no value changed)
Refresh 6 => Value = 1 (Blinking effects, Blue Color)
Refresh 7 => Value = 2 (Blinking effects, Red color)

Is there anyway to implement this ?? Thank you !!

3 Replies

MG Mohanraj Gunasekaran Syncfusion Team September 15, 2016 05:54 PM UTC

Hi Falcon, 

Thanks for using Syncfusion products. 

The reported scenario can be achieved by using the AllowBlink property. You can also set the blinking colors by using the GridEngine.BlinkIncreased , GridEngine.BlinkReduced and so on base styles. We have provided the dashboard sample regarding this and UG documentation. Please refer the below code snippet and refer the attached sample, 

Code snippet 
this.BaseStyles[GridEngine.BlinkIncreased].StyleInfo.BackColor = Color.Brown; 
this.BaseStyles[GridEngine.BlinkReduced].StyleInfo.BackColor = Color.Yellow; 
this.BaseStyles[GridEngine.BlinkNewValue].StyleInfo.BackColor = Color.BlueViolet; 

Engine.QueryAddColumn += new GridQueryAddColumnEventHandler(Engine_QueryAddColumn); 
private void Engine_QueryAddColumn(object sender, GridQueryAddColumnEventArgs e) 
       e.GridColumn.AllowBlink = true; 

Sample link: MarketSimulation 
Dashboard Sample: <Instaled_Location>\Syncfusion\EssentialStudio\Windows\Grid.Grouping.Windows\Samples\Performance\Market Simulation Demo\CS 

Mohanraj G. 

FC Falcon CK September 16, 2016 06:59 AM UTC

hi, thank you for reply. Let me try it out, if any issue do let you know. Thanks. 

MG Mohanraj Gunasekaran Syncfusion Team September 19, 2016 04:55 AM UTC

Hi Falcon, 
Thanks for your update.   
 We will wait until we hear from you. 
Mohanraj G. 

Live Chat Icon For mobile
Up arrow icon