面的代码可以将多列的列头合并为一个列头。效果如下图。
[C# Code]
fpSpread1.ActiveSheet.ColumnHeaderRowCount = 4; fpSpread1.ActiveSheet.Models.ColumnHeaderSpan.Add(0, 0, 2, 3);
[Visual Basic .NET Code]
FpSpread1.ActiveSheet.ColumnHeaderRowCount = 4 FpSpread1.ActiveSheet.Models.ColumnHeaderSpan.Add(0, 0, 2, 3)