回复 3楼mzmlliu的帖子
问题二,请问您是想更改一个单元格后立即更新 combo 还是,更改几个单元格之后统一修改?前后实现方法不同,所以要确认下,再修改 Demo。
问题三,
- protected void Button1_Click(object sender, EventArgs e)
- {
- SheetView sv=this.FpSpread1.Sheets[0];
- int columnCount=sv.ColumnCount;
- FarPoint.Web.Spread.Model.DefaultSheetStyleModel model = (FarPoint.Web.Spread.Model.DefaultSheetStyleModel)sv.StyleModel;
- model.Copy(0, 0, 2, 0, 1, columnCount);
- FarPoint.Web.Spread.Model.DefaultSheetDataModel dm = (FarPoint.Web.Spread.Model.DefaultSheetDataModel)sv.DataModel;
- dm.Copy(0, 0, 2, 0, 1, columnCount);
- }
复制代码
问题四,
- FpSpread1.Sheets[0].SetColumnSortIndicator(0, FarPoint.Web.Spread.Model.SortIndicator.Ascending);
- for (int i = 0; i < this.FpSpread1.ActiveSheetView.Columns.Count; i++)
- {
- FpSpread1.Sheets[0].SetColumnSortIndicator(i, FarPoint.Web.Spread.Model.SortIndicator.Ascending);
- }
复制代码 |