Visual Basic (Declaration) | |
---|---|
Public Overloads Sub AddColumn( _ ByVal viewColumnIndex As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DefaultRowFilter Dim viewColumnIndex As Integer instance.AddColumn(viewColumnIndex) |
C# | |
---|---|
public void AddColumn( int viewColumnIndex ) |
Parameters
- viewColumnIndex
- Column index
This example adds a filtered column to the row filter.
C# | Copy Code |
---|---|
fpSpread1.ActiveSheet.Columns[0].AllowAutoFilter = true;
fpSpread1.ActiveSheet.RowFilter.AddColumn(1);
|
Visual Basic | Copy Code |
---|---|
FpSpread1.ActiveSheet.Columns(0).AllowAutoFilter = True
FpSpread1.ActiveSheet.RowFilter.AddColumn(1) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2