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

BindingList<T> update in the nested grid.

Thread ID:

Created:

Updated:

Platform:

Replies:

79663 Feb 19,2009 09:26 PM UTC Feb 20,2009 05:02 PM UTC WinForms 3
loading
Tags: Grouping
Administrator [Syncfusion]
Asked On February 19, 2009 09:26 PM UTC

Hi,
I'm trying to create "virtual grouping grid" that provide requested appearance of the grid.
I maintain generic binding lists. Somehow GGC does not display updates made in nested binded list if the collection was added empty or maybe for some other reasons.
Is there workaround for my solution? I would like to get as low CPU impact as possible.

I attached the example. I am dynamically(on button click) adding 2 parent "rows" with 2 "child" rows and second row doesn't display children. Note: 2nd "child" added to the first "parent" after "parent" is added to the list. The GGC is setup on load of the form and contain some of the recommendations for performance from syncfusion examples and support.

Thank you,
Alex Feldman.



BindingTest_f6db2675.zip

Rajadurai C [Syncfusion]
Replied On February 20, 2009 04:25 PM UTC

Hi Alex,

Thanks for your interest in Syncfusion products.

I have checked your sample. I couldn't reproduce the issue you reported with parent and child rows updating. It works fine. To update the change made to the binded list, you can try setting the following property as this refreshes the grid with update.

this.gridgroupingControl1.TableDirtyOnSourceListReset = true;


This property specifies if the engine should set TableDirty to true when the data source raises ListChangedType.Reset.

Regards,
Rajadurai


Administrator [Syncfusion]
Replied On February 20, 2009 04:59 PM UTC

Thank you for the reply,
I'm using syncfusion 6.2 version and I attached screenshot of the example after single button click. second row doesn't have any nested rows.
Do you see different result?

I'm going to try your advice about DirtyTable.



view2_cc55cbe3.zip

Administrator [Syncfusion]
Replied On February 20, 2009 05:02 PM UTC

setting the flag resolved the issue
TableDirtyOnSourceListReset = true;

Thank you.


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

;