Last time I checked, Apache POI did not support this feature. If you know any solution that does, either free or commercial, please suggest.
Almost all of the questions you've answered on StackOverflow are promoting SmartXLS or JXCell — which are both relatively obscure products for handling Excel documents. Do you work for the company behind them? If so, I think you should disclose that!
gutch
2010-09-11 12:27:13
I am working for SmartXLS.
liya
2010-09-11 13:29:05
+1
A:
Apache POI does support AutoFilter, though it's fairly recent functionality.
Simply call setAutoFilter()
on your worksheet in POI with the cell range you want to filter. See documentation:
http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Sheet.html#setAutoFilter%28org.apache.poi.ss.util.CellRangeAddress%29
gutch
2010-09-11 12:18:02