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


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > ClearRowFilter Method : ClearRowFilter(Int32,Int32) Method
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)
See Also

Reference

SheetView Class
SheetView Members
Overload List