Railo 4.2 Reference
Choose a function:

Function SPREADSHEETAUTOSIZECOLUMN

Adjusts the width of the specified column to fit the contents. This can be slow on large sheets. Normally it should normally be called once per column, at the end of processing

Example

spreadsheetautosizecolumn(org.cfpoi.spreadsheet.Spreadsheet spreadsheet,numeric column,[boolean useMergedCells]):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
spreadsheet org.cfpoi.spreadsheet.Spreadsheet  Yes  
column numeric  Yes Column to resize  
useMergedCells boolean  No Whether to use the contents of merged cells when calculating the width of the column