MS
Mohamed Suhaib Fahad A.
Syncfusion Team
September 9, 2009 05:44 AM UTC
Hi Puthirak,
Thanks for using Syncfusion products. There are two modes of usage with the Grid Control,
1) Using QueryCellInfo, this would load the data virtually, for resetting this, you just have to set the Model.RowCount & Model.ColumnCount values.
2) Static population of styles, if the GridStyleInfo objects are populated for the whole grid, then you should simply clear them,
this.Model.VolatileCellStyles.Clear();
this.Model.Data.Clear();
Finally, in both these methods you should force the grid to invalidate by calling, Model.InvalidateVisual(true).
Please let me know if this helps you out.
Thanks,
Fahad
Grid.WPF Team
Syncfusion Inc.,