Spread Windows Forms 12.0 Product Documentation
RemoveRangeGroup Method (Columns)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Columns Class : RemoveRangeGroup Method
Starting column index
Number of rows to ungroup
Removes columns from the outline (range group) starting from the specified index and count, and returns them to individual columns.
Syntax
'Declaration
 
Public Sub RemoveRangeGroup( _
   ByVal column As Integer, _
   ByVal count As Integer _
) 
'Usage
 
Dim instance As Columns
Dim column As Integer
Dim count As Integer
 
instance.RemoveRangeGroup(column, count)
public void RemoveRangeGroup( 
   int column,
   int count
)

Parameters

column
Starting column index
count
Number of rows to ungroup
Example
This example uses the RemoveRangeGroup method.
fpSpread1.ActiveSheet.Columns.AddRangeGroup(1, 3);

private void button1_Click(object sender, EventArgs e)
        {
            fpSpread1.ActiveSheet.Columns.RemoveRangeGroup(1, 3);
}
fpSpread1.ActiveSheet.Columns.AddRangeGroup(1, 3)

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        fpSpread1.ActiveSheet.Columns.RemoveRangeGroup(1, 3)
    End Sub
See Also

Reference

Columns Class
Columns Members