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.

GridGroupingControl blinking on real time

Thread ID:

Created:

Updated:

Platform:

Replies:

125966 Sep 14,2016 10:11 AM Sep 19,2016 12:55 AM Windows Forms 3
loading
Tags: GridGroupingControl
Falcon CK
Asked On September 14, 2016 10:11 AM

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)
Cont... 
Refresh 6 => Value = 1 (Blinking effects, Blue Color)
Refresh 7 => Value = 2 (Blinking effects, Red color)

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

Mohanraj Gunasekaran [Syncfusion]
Replied On September 15, 2016 01:54 PM

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.Engine.AddBaseStylesForBlinking(); 
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 
 

Regards, 
Mohanraj G. 


Falcon CK
Replied On September 16, 2016 02:59 AM

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

Mohanraj Gunasekaran [Syncfusion]
Replied On September 19, 2016 12:55 AM

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


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.

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.

;