Sheet visible function always returns true

Posted by: adisa.craig on 29 July 2021, 6:49 pm EST

    • Post Options:
    • Link

    Posted 29 July 2021, 6:49 pm EST

    Hi I have the following json and when I initialize the spread and then attempt to get the visibility of the sheet it always returns true

    
    var spread = new GC.Spread.Sheets.Workbook(spreadView[0], {font: "11pt Verdana"});
    spread.options.enableAccessibility = true;
    spread.suspendPaint();
     spread.fromJSON({data from file}, incrementalLoading: true);
     spread.resumePaint();
    
    spread.sheets.forEach(function(sheet) {
                sheet.visible() // this returns true for all sheets 
     });
    
    
  • Posted 30 July 2021, 6:33 am EST

    Hi Adisa,

    We are sorry but we are unable to replicate the issue at our end. Could you please share the sample file and a small project that replicates the issue so that we could investigate it further and assist you accordingly?

    You may also refer to the following sample that we used for testing and modify it to replicate the issue so that we could investigate it further and assist you accordingly.

    sample: https://codesandbox.io/s/quizzical-browser-3ne0h?file=/src/index.js

    Regards

    Avinash

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels