Spread Windows Forms 9.0 Product Documentation
ClearRowFilter(Int32,Int32) Method
Example 


Column index of starting column
Number of columns in the range
Removes all of the row filters from a specified column range for this sheet.
Syntax
'Declaration
 
Public Overloads Sub ClearRowFilter( _
   ByVal column As Integer, _
   ByVal columnCount As Integer _
) 
'Usage
 
Dim instance As SheetView
Dim column As Integer
Dim columnCount As Integer
 
instance.ClearRowFilter(column, columnCount)
public void ClearRowFilter( 
   int column,
   int columnCount
)

Parameters

column
Column index of starting column
columnCount
Number of columns in the range
Remarks
This method, designed originally to be called from ClearRange to clear the filter column definitions in a range, can be called on its own to clear only the filter column definitions from any specified column range apart from any other clearing.
Example
This example uses the ClearRowFilter method.
fpSpread1.Sheets[0].Columns[0, 2].AllowAutoFilter = true;
fpSpread1.Sheets[0].ClearRowFilter(0, 1);
FpSpread1.Sheets(0).Columns(0, 2).AllowAutoFilter = True
FpSpread1.Sheets(0).ClearRowFilter(0, 1)
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.