• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JXL - How to find 0 column width?

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello.

I'm having a problem with JXL in that it doesn't seem to be able to detect the width of a 0-width column. For my purposes, I need to treat a 0-width column the same as a hidden column.

While "sheet.getColumnWidth()", "cellView.getDimension()" and ""cellView.getSize()" are able to detect other widths (rounded to the nearest integer), they always display a 0-width column as the last width it was before it became 0 (i.e. column is at 12, then gets changed to 0; JXL returns a 12).

Anyone know how to find the width of a 0-width column?

Thanks,
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic