版主:后台定义页脚:FpSpread1.ActiveSheetView.ColumnFooter.Visible = true;
FpSpread1.ActiveSheetView.Columns[2].AggregationType = FarPoint.Web.Spread.Model.AggregationType.Sum;
FpSpread1.ActiveSheetView.Columns[3].AggregationType = FarPoint.Web.Spread.Model.AggregationType.Sum;
FpSpread1.ActiveSheetView.Columns[5].AggregationType = FarPoint.Web.Spread.Model.AggregationType.Sum;
运行时输入数据:可看到页脚汇总数据,后台用:decimal InvAmount =Convert .ToDecimal ( FpSpread1.Sheets[0].ColumnFooter.Cells[0,5].Value);为何获取不到页脚的值。请指教。谢谢!
|
|