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.

Grid refresh

Thread ID:

Created:

Updated:

Platform:

Replies:

107443 Mar 1,2013 07:28 PM Mar 5,2013 01:49 AM WinRT 3
loading
Tags: SfDataGrid
Gary Pansino
Asked On March 1, 2013 07:28 PM

I am using the Grid preview and have successfully binded it to an observable collection, but the grid cells do not refresh as the OC values change.  If I scroll an updated cell off the visible area, and then back onto the visible area, it appears.

I tried datagrid.UpdateLayout(); but no effect.

How do you enable auto refresh?

Thanks



Arun Selva Kumar B [Syncfusion]
Replied On March 4, 2013 04:36 AM

   

Hi Gary Pansino,

 

Thank You for using Syncfusion Products.

 

We have analyzed your query, and possibly it appears that you might have not used INotifyPropertyChanged to connect the value of the property, to notify the binding client (SfDataGrid, in this case) of the property value change.

 

Implementing INotifyPropertyChanged will help you update GridCell, when you change the value in the Collection.

 

Kindly refer the attached sample here,

SfDataGridSample.zip

 

Please let us know, if you need further assistance on this.

 

With Regards,

Arun Selva Kumar


Gary Pansino
Replied On March 4, 2013 04:31 PM

Works perfectly after I incorporated into my project.  Thanks.

Prakash Selvaraj [Syncfusion]
Replied On March 5, 2013 01:49 AM

Hi Gary,

 

Thank you for your feedback.

 

Please let us know if you need further assistance.

 

Regards,

Prakash S.


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.

;