Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 05/31/2016
Components: Document Management, Office Integration
Versions: 2016
Failure Type: Enhancement Request
Found In Build/Fixed In Build: CF2016_Final /
Priority/Frequency: Normal / Unknown
Locale/System: English / Win All
Vote Count: 0
Currently spreadsheetGetColumnCount()/spreadsheet.getColumnCount() require the sheet name/number parameter.
It should be optional. It should default to the currently active sheet (i.e. the sheet specified via .setActiveSheet()/.setActiveSheetNumber()).
Repro:
<cfscript>
ss = spreadsheetNew("mySheet");
ss.addRows(["one,two,three","four,five,six","seven,eight,nine"], 1, 1);
writeDump(ss.getColumnCount());
</cfscript>
Actual result: throws "The getColumnCount method was not found."
Expected result: displays mySheet's column count
(then, of course, the doc should be updated to indicate that parameter is optional)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4159346
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email:
Attachments:
Comments: