Hi,
We use xamdatagrid in one of our screens which gets live data. Ocassionally the grouping breaks and empty string is shown as group header with all records under it. I have only noticed this issue occouring when there is a data update.
If you have encountered this issue before then please suggest a fix.
Thanks and regards
Hi Parag,
I haven't encountered this before but I'm building a sample to try and reproduce this. I will get back to you once the sample is complete and I have tested this scenario.
I put together a small sample that binds the XamDataGrid to some data. I then grouped by one of the columns and ran a timer which periodically updates the data in that column. Using the latest build for 14.2, I do not see the grouping header becoming an empty string. I have attached my sample so you can take a look.
What is the version number for the Infragistics assemblies that you are using? Maybe you are using an older build?
Hi Rob, we are using 14.1. I have seen the issue at occasions. Some days its frequesnt other days its not. We also suspect it may have something to do with null values in grouped columns.
What specific build of 14.1 are you using so I can test against that? You can find the version number if you look at your project references and select one of the Infragistics DLLs, then view it's properties. One of the properties is the version number.
14.1.20141.2062
Also we use this event handler to regroup grid on new data -
private void OnInitializeRecordDirect(object sender,InitializeRecordEventArgs e)
{
if (e.SortValueChanged || !e.ReInitialize)
e.Record.RefreshSortPosition();
}
Rocky said: Also we use this event handler to regroup grid on new data - private void OnInitializeRecordDirect(object sender,InitializeRecordEventArgs e) { if (e.SortValueChanged || !e.ReInitialize) { e.Record.RefreshSortPosition(); } }