Spread Windows Forms 11.0 Product Documentation
AddColumn(Int32) Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultRowFilter Class > AddColumn Method : AddColumn(Int32) Method
Column index
Adds a filter column definition to the row filter.
Syntax
'Declaration
 
Public Overloads Sub AddColumn( _
   ByVal viewColumnIndex As Integer _
) 
'Usage
 
Dim instance As DefaultRowFilter
Dim viewColumnIndex As Integer
 
instance.AddColumn(viewColumnIndex)
public void AddColumn( 
   int viewColumnIndex
)

Parameters

viewColumnIndex
Column index
Example
This example adds a filtered column to the row filter.
fpSpread1.ActiveSheet.Columns[0].AllowAutoFilter = true;


fpSpread1.ActiveSheet.RowFilter.AddColumn(1);
FpSpread1.ActiveSheet.Columns(0).AllowAutoFilter = True


FpSpread1.ActiveSheet.RowFilter.AddColumn(1)
See Also

Reference

DefaultRowFilter Class
DefaultRowFilter Members
Overload List