AD
Administrator
Syncfusion Team
August 16, 2004 04:10 PM UTC
You can try code like:
ggc.DataSource = null;
ggc.DataMember = null;
ggc.ResetTableDescriptor();
ggc.DataSource = newDataTable;
ggc.TableDescriptor.SetItemProperties(ggc.Engine.GetSouceList());
ggc.Table.TableDirty = True;
ggc.Table.SummariesDirty = True;
ggc.Refresh();
We did find a problem and correct it in the next release when you try to reset a datasource. With this correction, the above code should work. For the version you have, if it does not, then you can dispose and recreate the ggc control after reloading the data.