回复 1楼mountain2657的帖子
可以通过 SortColumns 方法来实现多列排序,请参考代码:
- FarPoint.Web.Spread.SheetView sv;
- FarPoint.Web.Spread.SortInfo[] s = new FarPoint.Web.Spread.SortInfo[1];
- s[0] = new FarPoint.Web.Spread.SortInfo(0, false);
- sv = FpSpread1.ActiveSheetView;
- sv.SortColumns(0, 2, s);
复制代码 |