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.3+98f265239ae8df4639650ecd7029244cc5e52dfc
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