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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataGridControl with realTime DataFeed

Thread ID:

Created:

Updated:

Platform:

Replies:

108574 Apr 30,2013 08:13 AM UTC May 13,2013 07:00 PM UTC WPF 1
loading
Tags: GridControl
Mohamed
Asked On April 30, 2013 08:13 AM UTC

Dear All,
i built a real time datagridcontrol with high rate of updates i used observableCollection<dynamic> object  as a datasource ... also i build the grid columns with list<Field> where filed is an object with the column name and information ..
i want to know the best practice to build this grid and enable the flashing and sorting on it


Regards,


Rajasekar G [Syncfusion]
Replied On May 13, 2013 07:00 PM UTC

Hi  Mohamed,

 

Thanks for the patience.

 

We have analyzed your query and you can achieve your requirement by using the following code snippet.

 

Code snippet[C#]:

void AssociatedObject_Loaded(object sender, RoutedEventArgs e)
{
    //Enable the Sorting in GridDataControl
    this.AssociatedObject.AllowSort = true;
 
    //Animate the Cell 
    var Table = this.AssociatedObject.Model.TableStyle as GridStyleInfo;
    Table.IsBackGroundAnimationEnabled = true;
    Table.BackgroundAnimationFromColor = Colors.SpringGreen;
    Table.BackgroundAnimationToColor = Colors.Turquoise;
}

 

 

And also we have prepared the sample based on this and it can be download from the following location.

 

Sample Location: StockExchangeDemo.zip

 

Please let us know if you have any questions.

 

Regards,

Rajasekar


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

;