【发布时间】:2022-11-09 16:34:19
【问题描述】:
标签: angular devexpress
标签: angular devexpress
将分组列的“SortOrder”属性设置为“降序” 以下是通过代码设置的情况。
// set sort mode
columnState.SortMode = DevExpress.XtraGrid.ColumnSortMode.DisplayText;
// add sort
gridcontrol1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(columnState, DevExpress.Data.ColumnSortOrder.Descending)});
【讨论】: