Spread Windows Forms 10.0 Product Documentation
SetColumnAllowFilter(Int32,Boolean) Method
Example 


Column index
Whether to allow filtering for the specified column
Sets whether the specified column on this sheet allows filtering.
Syntax
'Declaration
 
Public Overloads Sub SetColumnAllowFilter( _
   ByVal column As Integer, _
   ByVal allowFilter As Boolean _
) 
'Usage
 
Dim instance As SheetView
Dim column As Integer
Dim allowFilter As Boolean
 
instance.SetColumnAllowFilter(column, allowFilter)
public void SetColumnAllowFilter( 
   int column,
   bool allowFilter
)

Parameters

column
Column index
allowFilter
Whether to allow filtering for the specified column
Remarks
The default is for columns not to allow filtering.
Example
This example uses the SetColumnAllowFilter method.
fpSpread1.Sheets[0].SetColumnAllowFilter(0, true);
FpSpread1.Sheets(0).SetColumnAllowFilter(0, True)
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

SheetView Class
SheetView Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.