Posted 1 August 2019, 8:47 am EST
Good morning/afternoon
I’m trying to create a functionality within a sheet instance capable to toggle the visibility (on/off) of certain ranges of columns
I found the following topic (see below) which comes from 2018 and I tried to implement the same logic, however once the columns are set to visible(false) there is no way to reset the visibility as true.
My code looks something like this:
// this.activeSheet is coming from getActiveSheet() of GC.Spread.Sheets.Workbook
this.activeSheet.getRange(-1, 0, -1, 20).visible(true)
Apparently passing visible() or visible(true) or visible(‘blah’) doesn’t set the visibility back to normal
Ref. https://www.grapecity.com/forums/spread-sheets/how-to-hide-columns-or-row#original-post
