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.

GridGroupingControl with UniformChildList

Thread ID:

Created:

Updated:

Platform:

Replies:

77909 Nov 20,2008 10:06 AM Dec 5,2008 03:52 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On November 20, 2008 10:06 AM

Hi
I am using GridGroupingControl version 6.202.0.40 with UniformChildList relations and BindingList as data source. When I bring up the list first time around everything works fine. Problem is that if I Clear() binding list and add records back to it, GridGroupingControl no longer shows any records regardless how many times I reload that binding list.

NOTE: this only happens when next data set that is being loaded is greater in size than the previous.

Here is code snipet:
_list.Clear();
gridGroupingControl1.BeginUpdate();
foreach (BlotterEntityParent be in trades)
_list.Add(be);
gridGroupingControl1.EndUpdate(true);

Thanks
Greg



Jisha Joy [Syncfusion]
Replied On December 5, 2008 03:52 AM

Hi Greg,

Please use the following codes for rebinding GridGroupingControl:

this.gridGroupingControl1.DataSource = null;
thisgridGroupingControl1.DataMember = null;
this.gridGroupingControl1.ResetTableDescriptor();
this.gridGroupingControl1.TableDescriptor.Relations.Clear();
this.gridGroupingControl1.DataSource = newdatasource;
this.gridGroupingControl1.Reinitialize();
this.gridGroupingControl1.Refresh();

Please try this and let me know if this helps.

Regards,
Jisha




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.

;