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,Thanks ..now i am able ...understand where is my mistake .. :) ..actually that property was inside the override settings ..n i was not able to find it ..earlier ..please ignore my last reply ..thanks for you help n support .
Solution : DisplayLayout.Override.SelectTypeGroupByRow = None
Prasant rout
Hi Mike..Yeap...I am talking about presets .only. &.apologies for that confusion. J ....But mike...Please tell me..what need to done to retain the row selection in first grid...With that existing preset.
Thnaks in advance
Prasant Rout
Hi Prasant,
I ran your sample and I get the same results you do. But I'm still not clear on what you mean by "theme". These two grids clearly have different property settings. It looks like maybe you are talking about Presets when you say "theme".
I noticed that when I GroupBy on the first grid, the first GroupByRow in the grid gets selected and so therefore the data row that I selected before the grouping was de-selected. When you click the button, you are trying to access the cells collection of the selected rows and since a GroupByRow has no cells, you get an error. This is all perfectly normal and correct.
In the second grid, the GroupByRow is not selected and so it seems that the initial selected data row stays selected. The GroupByRow is probably not selected because the SelectTypeGroupByRow on the second grid has been set to None.
Hi Mike,Please runthough my attached window application.Zip ..where i have showed both the grid with a button below..please select a row from grid 1 and then group it ...and then ..click on the button below ...will give you the object refrence error ..and same doing with gird2 will not throw error ..because it's retaining the row selection ..
Hoping below will help you to understand the issue :)
Link :
Screen Shot
Thanks
Hi,
When you say "Theme" here, are you refferring to changing the Operating system themes? Or loading an isl file into your application?
Either way, I can't see how either of these couple possibly affect the selection in the grid. In order to look into this, we will need you to provide a small sample project we can use to duplicate the issue, and more specific information about what Operating system you are running (assuming you are talking about O/S themes), or exactly which isl files you are using (if that's what you meant be themes).