Query |
Solution |
Query1:
The GGC is Flickering when doing refresh job |
We have analyzed your provided code part. You have set the datasource as null while performing the refresh function. If you want to make the changes in same datasource please use the IBindingList to make the changes it will avoid to initialize the DataSource and custom settings again for GridGroupingControl. So no need to make the GridSettings again and We have used the BackGround worker to avoid the flickering issue. Please refer the below code example,
Code example
if (!backgroundworker.IsBusy)
backgroundworker.RunWorkerAsync();
void backgroundworker_DoWork(object sender, DoWorkEventArgs e)
{
for (int i = 0; i < 10000; i++)
{
var row = r.Next() % 100;
for (int col = 1; col < 10; col++)
{
var colNum = r.Next() % 15;
if (table != null)
table.Rows[row][colNum] = r.Next(1000,9000).ToString();// r.Next().ToString();
}
}
table.AcceptChanges();
} |
Query2:
When there is few hundred line of data in the grid, it will hang and showing Not Responding, I have to restart the system. |
We have tried to reproduce your scenario. But we are unable to reproduce your scenario at our end. Please provide the following details,
· Let us know your time interval for updating the GridGroupingControl.
· Let us the your bounding datasource type for GridGroupingControl
· Please provide your Syncfusion product version details to reproduce your scenario. It will be helpful to provide the solution at the earliest.
|