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


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

Columns Class
Columns Members

 

 


Copyright © GrapeCity, inc. All rights reserved.