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.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
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