{"id":5194,"date":"2016-10-30T19:31:10","date_gmt":"2016-10-30T19:31:10","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=5194"},"modified":"2016-10-30T19:31:10","modified_gmt":"2016-10-30T19:31:10","slug":"filter-freeze-top-row-apache-poi","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/filter-freeze-top-row-apache-poi\/","title":{"rendered":"Filter and Freeze top row in Apache POI"},"content":{"rendered":"<p>If you make spreadsheets with POI that people are going to use, you definitely will want to enable these two excel features (filtering and freezing the header row):<\/p>\n<pre lang=\"scala\">\nsheet.setAutoFilter(new CellRangeAddress(0, 0, 0, numColumns))\nsheet.createFreezePane(0, 1)\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>How to freeze \/ filter Excel spreadsheets in POI<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[206],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5194"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=5194"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5194\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=5194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=5194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=5194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}