你是想实现数据自动合并显示功能吧,通过以下代码可以实现自动合并:- protected void Page_Load(object sender, EventArgs e)
- {
- FarPoint.Web.Spread.Model.ISheetAxisModel isa;
- isa = FpSpread1.ActiveSheetView.ColumnAxisModel;
- isa.SetMergePolicy(0, FarPoint.Web.Spread.Model.MergePolicy.Always);
- FpSpread1.ActiveSheetView.Cells[0,0,2,0].Text = "张三";
- }
复制代码
1.png
(9.15 KB, 下载次数: 319)
|