Click or drag to resize
NanoXLSX

WorksheetSetAutoFilter(String) Method

Sets the column auto filter within the defined column range

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+b0ed5f8a99a50b9e6528224889fbd7f23c30b364
Syntax
C#
public void SetAutoFilter(
	string range
)

Parameters

range  String
Range to apply auto filter on. The range could be 'A1:C10' for instance. The end row will be recalculated automatically when saving the file
Exceptions
ExceptionCondition
RangeExceptionThrows a RangeException if the passed range out of range
FormatExceptionThrows a FormatException if the passed range is malformed
See Also