0

I have developed a java code for downloading excel sheet. I am using apache POI. This thing worked well on all machine.

However when same code deployed to different server the cells got Shrinked to very small width even though the cells were having the data.

Any idea why this is happening?

veer7
  • 20,074
  • 9
  • 46
  • 74

1 Answers1

1

Because you are using auto-sized columns and fonts are not setup correctly.

See Apache POI autoSizeColumn Resizes Incorrectly for related question

Community
  • 1
  • 1
J-16 SDiZ
  • 26,473
  • 4
  • 65
  • 84
  • I am using 'Arial' font which is very basic. This may not need installing font in Java. – veer7 Sep 18 '15 at 08:03