E-PC: PSSpreadsheet SetColumnWidth Method Is Not Working
Last updated on FEBRUARY 20, 2018
Applies to:PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.
On : 8.55 version, PeopleCode
When working on an excel spreadsheet created through PeopleCode PSSpreadsheet class, method SetColumnWidth() is not working properly.
All columns except the first are shrunk down to 0 width instead of the width specified in the method
The issue can be reproduced at will with the following steps:
1. Create an Application Package and a class within it.
2. Create a method in the class to create and excel spreadsheet, using the PSSpreadsheet class.
3. Use a SQL to populate the sheet rows.
4. Format the width of the columns through method SetColumnWidth
5. Execute the code using, for example, the Application Class Tester (Enterprise Components > Component Configurations > Application Class Tester)
6. Check the excel spreadsheet that is created.
7. All columns except the first are shrunk down to 0 width instead of the width specified in the method
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms