Spread Windows Forms 12.0 Product Documentation
ClearColumnHeaderSpanCells Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : ClearColumnHeaderSpanCells Method
Removes all spans from the column headers.
Syntax
'Declaration
 
Public Sub ClearColumnHeaderSpanCells() 
'Usage
 
Dim instance As SheetView
 
instance.ClearColumnHeaderSpanCells()
public void ClearColumnHeaderSpanCells()
Example
This example clears the header span.
//Create Span
fpSpread1.Sheets[0].ColumnHeader.Rows.Count = 2;
fpSpread1.Sheets[0].AddColumnHeaderSpanCell(0, 0, 1, 2);
//Clear Span 
fpSpread1.Sheets[0].ClearColumnHeaderSpanCells();

'Create the span
FpSpread1.Sheets(0).ColumnHeader.Rows.Count = 2
FpSpread1.Sheets(0).AddColumnHeaderSpanCell(0, 0, 1, 2)
'Clear the span 
FpSpread1.Sheets(0).ClearColumnHeaderSpanCells()
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Creating a Span of Cells