FpSpread1.DataBind();
FarPoint.Web.Spread.Model.GroupDataModel gm = new FarPoint.Web.Spread.Model.GroupDataModel(FpSpread1.ActiveSheetView.DataModel);
FarPoint.Web.Spread.SortInfo[] sort = new FarPoint.Web.Spread.SortInfo[1];
sort[0] = new FarPoint.Web.Spread.SortInfo(10, true);
gm.Group(sort);
FpSpread1.ActiveSheetView.DataModel = gm;
想对某列求和 (分组求和&总合计),
V3 是否支持? 怎么搞 ? 我在数据源 加 汇总行, 前台也给 分组了 ,效果不好. |
|