Spread:
<FarPoint:FpSpread ID="FpSpread1" runat="server" BorderColor="Black" BorderStyle="Solid"
BorderWidth="1px" Height="400" Width="100%" >
<Sheets>
<FarPoint:SheetView SheetName="Sheet1">
</FarPoint:SheetView>
</Sheets>
</FarPoint:FpSpread>
设置:
FpSpread1.ActiveSheetView.PageSize = 30;
FpSpread1.AllowLoadOnDemand = true;
FpSpread1.LoadInitRowCount = 30;
FpSpread1.LoadRowIncrement = 10;
FpSpread1.ActiveSheetView.AllowPage = true;
FpSpread1.HorizontalScrollBarPolicy = FarPoint.Web.Spread.ScrollBarPolicy.Always;
FpSpread1.VerticalScrollBarPolicy = FarPoint.Web.Spread.ScrollBarPolicy.AsNeeded;
FpSpread1.ClientAutoCalculation = true;
FpSpread1.CommandBarOnBottom = false; |