Hi All,
We are facing a problem, while we are ungrouping the grid columns we are losing the row selection .please check with steps and screen shots attached below .and the same was working earlier with Them ”WindowsXP - Silver“ whereas with them “Aero” ..we are facing this issue ..Please let us know solution for this
Before, the grouping on old Infragistics ultra grid control. Selected, number of rows.
After I grouped the records on ultra grid.
Then ungrouped the grid records
In the both the cases Ultra grid was retaining the selection.
Ultrgrid------- Infragistics 9.2 version. With Them “Aero”
Selected number of records on the new version of Ultra grid.
Grouped the records on this grid.
Ungrouped the records again on this grid
Selection on this grid is not available right now. However, it is showing one row active on the grid. As per our design settings, grid is not retaining any selection after ungroup the column.
Are there any different property available on this new 9.2 ultra grid to fix this problem?..
Hi Mike ,we are using NetAdvantage 2009.2 version and both the them are from same version only .
Here is that code which fails populate “UltraGridRow drv” with grouping functionality in them name “Aero” .whereas same was working with them “WindowsXP - Silver”..Because it retains the row selection before/after grouping..Where as in “Aero” them it doesn’t retains the selection..While grouping the column. So the enumerator populate “UltraGridRow drv” with null value..Which causing
Problem while finding the cell values from drv object..which is null now … J..which is not the case in them “WindowsXP - Silver”. ..it works ..for us ..:)
if (UltraGrid1.Selected.Rows.Count > 0)
{
foreach (UltraGridRow drv in UltraGrid1.Selected.Rows)
if (drv. Cells["Running Type"].Value.ToString() == "Server")
strDrIds += drv.Cells["DeviceRunningId"].Value.ToString() + ",";
}
Let us know if there are any thing we are missing in property settings to retain the row selection before/after grouping the column ..it shouldn’t remove the selection after dropping the column into the grid . Thanks
Prasant Rout
Hi,
Are you saying that this behavior changed simply by changing the theme? Or were you using an older version of the grid when it worked.
I can't see any way that themes could affect the behavior like this. But if this was working in an older version of the grid and now it's not, then that's clearly a bug. But we need to know what version you were using when it worked.