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. Image for the cookie policy date
close icon

GridGroupingControl with UniformChildList

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



1 Reply

JJ Jisha Joy Syncfusion Team December 5, 2008 08:52 AM UTC

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




Loader.
Live Chat Icon For mobile
Up arrow icon