Is there a way to drag an entire group?
I have a grid with some VOs that are grouped by 1 field. I want be able to reorder the groups by dragging them over each other, interally assiging a sequenceNo per group.
So when group 3 is dragged above group 1 it should become group 1.
So far i can drag single rows but nothing happens when the groupRow is dragged, am I missing something?
Hello and thank you for contacting Infragistics. There is no built-in support for dragging rows, groupby rows. I suggest reviewing this thread.
https://www.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/84870/rearrange-sequence-of-row-by-drag-and-drop
Grouping is closely tied to sorting. You can sort grouped rows in the groupbybox. I attached a basic sample demonstrating this. If you want to programmatically apply a custom sort on groupby rows then you'll need to utilize our GroupByComparer.
eg.
https://www.infragistics.com/help/winforms/infragistics.win.ultrawingrid~infragistics.win.ultrawingrid.ultragridcolumn~groupbycomparer
Please see the following threads too.
https://www.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/122093/ultragrid-sort-when-groupby-is-on
https://www.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/40557/custom-sort-groupby-rows
GroupByBreak.zip