I generate a sheet, pretty bog standard headers and columns of data.
I want to turn on the \"Filter\" function for the sheet, so the user can easily sort and filter the
easiest way of adding filter on header :
sheet.setAutoFilter(new CellRangeAddress(0, 0, 0, numColumns)); sheet.createFreezePane(0, 1);