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.
Syncfusion Feedback

GDBD Not updating

Thread ID:

Created:

Updated:

Platform:

Replies:

18294 Aug 27,2004 09:10 AM UTC Aug 27,2004 10:19 AM UTC Windows Forms 1
loading
Tags: GridControl
Chris Dugdale
Asked On August 27, 2004 09:10 AM UTC

Hi, I have a GDBG which is bound to a collection implementing IBindingList (Like in the Customer sample). There are 3 levels of hierarchy. The problem is when properties are updated, they are not reflected on the screen, unless a reset occurs or the user clicks on the row. I have the following properties set for my grid:- gridTargetOrders.UseListChangedEvent = true; gridTargetOrders.Binder.OptimizeListChangedEvent = false; //I have also tried true Do you have any suggestions?

Administrator [Syncfusion]
Replied On August 27, 2004 10:19 AM UTC

Normally updates to the parent table ''take'' OK. But updates to child tables do not. The reason is that these tables come and go as you expand and collapse the parent. I think you can work around this problem by subscribing to the ListChanged event on the child list as the node expands, and then unsubscribe when the node collapses. In the handler, you have to find the location of the parent record, and then refresh the proper child row. Here is a modified Customers sample that seems to be working. Expand the first row, and then click the Test button. The firstnames of the parent and both children should change. CS_4131.zip

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

;