Method: Axlsx::Worksheet#auto_filter

Defined in:
lib/axlsx/workbook/worksheet/worksheet.rb

#auto_filterObject

An range that excel will apply an autfilter to "A1:B3" This will turn filtering on for the cells in the range. The first row is considered the header, while subsequent rows are considerd to be data.

Returns:

  • String



103
104
105
# File 'lib/axlsx/workbook/worksheet/worksheet.rb', line 103

def auto_filter
  @auto_filter ||= AutoFilter.new self
end