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

catching end of update from dataview

Thread ID:





6436 Aug 13,2003 03:32 AM UTC Aug 13,2003 12:34 PM UTC WinForms 4
Tags: GridControl
Asked On August 13, 2003 03:32 AM UTC

is there an event that fires when the grid finishes refreshing from the dataview. or is there a way to see if the databound grid is currently being sync'd with the dataview TIA, Peter

Administrator [Syncfusion]
Replied On August 13, 2003 06:27 AM UTC

The GridDataBoundGrid.Binder.ItemChanged is raised for each change from your DataSource. The grid does not know when your datasource has 'finished updating', it only knows that an item was changed. So, this event is fired for each change. If you have access to teh datasource, and can raise an event that indicates the datasource is finished updating, then you could subscribe to the event to know this has occurred. But without this additional information from the datasource itself, I don't know of a way to get it from the grid. If your updates are always row by row, then the GridDataBoundGrid.Binder.ItemChanged can tell you when a row has completed updating, but again it does not know whether this is the last row to be updated or not.

Replied On August 13, 2003 11:22 AM UTC

The problem is that if I am getting data from the dataView1 on dataView1_ListChanged the grid does not draw properly. Thus resulting in a blank grid. The rows are there but the data is not.

Replied On August 13, 2003 11:27 AM UTC

right now to make it work im having the ListChanged event start a timer and after 100ms it fires, this way avoiding the problem. This of course is a broken fix because if the data is big enough and it takes more than 100ms to load it will not refresh on the grid properly. two things can help one the event after the grid is refreshed or a workaround. or second a property that can let me know if the grid is currently refreshing.

Administrator [Syncfusion]
Replied On August 13, 2003 12:34 PM UTC

Normally, if you set grid.DataSource = myDataView, and the dataview changes itself, then the grid should reflect the change without you having to do anything. Can you post a little sample showing the problem you are having, or submit a Direct Trac support incident with a sample? If so, maybe we can spot what is failing here.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon