The code below applies two grouping layers: merged grouping by “Ship Country”, “Ship City” and “Ship Region” columns, followed by tier two grouping by the “Customer ID” column.ĬolShipCountry.GroupInterval = To apply complex grouping in code, modify this collection manually by calling the GridColumnSortInfoCollection.ClearAndAddRange method. You can change this property only for columns that have already been added to a View.Ī collection that stores specific ColumnSortInfo objects on every grid column involved in sorting and grouping. Values must be unique, which means you cannot apply merged column grouping by setting column group indexes. If data is already grouped by other columns, this column will be added to the end of the grouping queue.Īccepts non-negative integer values that specify the column order according to which data is grouped.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |