回复 10楼roger.wang的帖子
FarPoint.Web.Spread.SortInfo[] sortInfo = new FarPoint.Web.Spread.SortInfo[1];
sortInfo[0] = new FarPoint.Web.Spread.SortInfo(gridSortCol, sort);
FpSpread1.ActiveSheetView.Sort(0, gridSortCol, FpSpread1.ActiveSheetView.RowCount, 1, true, sortInfo);
这个可以吗 |