- FarPoint.Win.Spread.Model.GroupDataModel gm = new FarPoint.Win.Spread.Model.GroupDataModel(FpSpread1.Sheets[0].Models.Data);
- FarPoint.Win.Spread.SortInfo[] si = new FarPoint.Win.Spread.SortInfo[] {new FarPoint.Win.Spread.SortInfo(FpSpread1.Sheets[0].ActiveColumnIndex, true)};
- gm.Group(si);
- FpSpread1.Sheets[0].Models.Data = gm;
复制代码 |