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?
ADAdministrator Syncfusion Team August 27, 2004 05:19 AM
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.