AutoFiltersCollection
DynamicFilter Method (Int32, DynamicFilterType)
 | 
Adds a dynamic filter.
Namespace:
Spire.Xls.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
 
public void DynamicFilter(
	int columnIndex,
	DynamicFilterType dynamicFilterType
)
 
Public Sub DynamicFilter ( 
	columnIndex As Integer,
	dynamicFilterType As DynamicFilterType
)
 
public:
void DynamicFilter(
	int columnIndex, 
	DynamicFilterType dynamicFilterType
)
 
member DynamicFilter : 
columnIndex : int * 
dynamicFilterType : DynamicFilterType -> unit 
 
 
 
Parameters
- 
columnIndex
 
- 
Type:
System
Int32
The column field on which you want to base the filter. for exapmle: sheet.AutoFilters[0]
 
- 
dynamicFilterType
 
- 
Type:
Spire.Xls.Core.Spreadsheet.AutoFilter
DynamicFilterType
Dynamic filter type.
 
 
See Also