PyExcelerate icon indicating copy to clipboard operation
PyExcelerate copied to clipboard

Add full support for filters

Open kevmo314 opened this issue 7 years ago • 4 comments

#68 adds basic support for filters on the entire worksheet, however it would be nice to have full support for the <autoFilters> tag to allow for more complex filtering options as defined in the open office spec. Likely the binary auto_filters is still desirable to keep entire worksheet filtering simple, so this should be backwards-compatible.

kevmo314 avatar Jun 30 '18 06:06 kevmo314

Can you please show me how to use the filter from #68 ? I try to add auto_filter = True to new_sheet, then ws.auto_filter = True. Both cases returns AttributeError.

Vinci08 avatar Apr 25 '19 14:04 Vinci08

It should be auto_filters, not auto_filter.

kevmo314 avatar May 03 '19 19:05 kevmo314

Thanks @kevmo314 . I ended up using PyExcelerate for writing, and win32com Excel for formatting the whole table. Really love PyExcelerate since its writing time is much better than openpyxl!

Vinci08 avatar May 03 '19 19:05 Vinci08

Ah I actually misspoke, it should be auto_filter, however we haven't pushed that code out yet. I guess we should do that since it's been a while. Glad you're finding PyExcelerate useful :)

kevmo314 avatar May 03 '19 19:05 kevmo314