Shows or hides a column of the active sheet in a spreadsheet workbook. Columns are 1-based. The fluent member form is setColumnHidden(column, hidden), with the shorthand members hideColumn(column) and showColumn(column) and the predicate isColumnHidden(column).
spreadsheetSetColumnHidden(spreadsheetObj, column, hidden)
→ returns any
Hide column 3 and check its hidden state.
wb = Spreadsheet("xlsx");
spreadsheetSetColumnHidden(wb, 3, true);
writeDump(wb.isColumnHidden(3));
Expected Result: true
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.