Hi, Actually i am using your UltraGrid. In run time i m able to drag the column to "Drag a column header here to Group by that Column" but my i want to set header column by using coding. so can u plz provide me which code i used to set the Group by column programatically. Thanks, Waiting Your Reply,
Grouping and sorting and very closely related. So to group a column, you use the SortedColumn.Add method.
grid.DisplayLayout.Bands[0].SortedColumns.Add("My Column", true, true);
Hi Mike,
Can you please tell me how can i do a group by column should be not sorted in any order. [Not in ascending or descending]
.if it gets sort it alter my order of display record.
Am trying to achieve same in infragistics. Can you please inform me is it posible?
Hi Mike ,
Thanks for the answer , But I found the feature in vb grid control .
It is not possible to group without sorting. The rows have to be sorted so that rows with the same values are adjacent and can then be grouped.