farpoint
注:(fpSpread1为farpoint名,fpSpread1_sheet1为表名)
用farpoint的时,设置视区随滚动条移动(鼠标按着,farpoint的内容更新到滚动条的区域)
this.fpSpread1.scrollBarTrackPolicy = FarPoint.Win.Spread.ScrollBarTrackPolicy.Both; |
farpoint 设置数据:
this.fpSpread1.datasource = dataView
//修改farpoint界面随焦点改变
this.fpSpread1.ShowRow(0, this.fpSpread1_Sheet1.ActiveRowIndex, FarPoint.Win.Spread.VerticalPosition.Nearest);