Spread Windows Forms 7.0 Product Documentation
AddColumn(FilterColumnDefinition) Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultRowFilter Class > AddColumn Method : AddColumn(FilterColumnDefinition) Method


fcd
FilterColumnDefinition object that contains the filter column definition

Glossary Item Box

Adds a filter column definition to the row filter.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub AddColumn( _
   ByVal fcd As FilterColumnDefinition _
) 
Visual Basic (Usage)Copy Code
Dim instance As DefaultRowFilter
Dim fcd As FilterColumnDefinition
 
instance.AddColumn(fcd)
C# 
public void AddColumn( 
   FilterColumnDefinition fcd
)

Parameters

fcd
FilterColumnDefinition object that contains the filter column definition

Example

This example adds a filtered column to the row filter.
C#Copy Code
fpSpread1.ActiveSheet.Columns[0].AllowAutoFilter = true;
fpSpread1.ActiveSheet.RowFilter.AddColumn(new FarPoint.Win.Spread.FilterColumnDefinition(1));
Visual BasicCopy Code
FpSpread1.ActiveSheet.Columns(0).AllowAutoFilter = True
FpSpread1.ActiveSheet.RowFilter.AddColumn(New FarPoint.Win.Spread.FilterColumnDefinition(1))

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.