Hello,
With a GDBG(V2.1.0.9) bound to a DataTable.
I have updated the DataSource (new dataTable with different structure) after having moved some columns.
The new columns aren''t visible, the old ones are still visible and empty.
gridDataBoundGrid1.DataSource = null;
gridDataBoundGrid1.DataMember = null;
gridDataBoundGrid1.Model.ResetVolatileData();
gridDataBoundGrid1.DataSource = newTable;
gridDataBoundGrid1.Refresh();
What can I do to reset the grid before changing the DataSource?
AD
Administrator
Syncfusion Team
December 15, 2004 03:53 PM UTC
Try calling grid.Binder.InitializeColumns to see if this will take care of this problem.
AD
Administrator
Syncfusion Team
December 16, 2004 07:12 AM UTC
It works perfectly!