Sheet.clear function does not clear formatting added by Conditional format

Posted by: adisa.craig on 20 September 2019, 4:31 pm EST

    • Post Options:
    • Link

    Posted 20 September 2019, 4:31 pm EST

    Hi we are using the function ```

    sheet.clear(0, 0, 1,1, GC.Spread.Sheets.SheetArea.viewport, GC.Spread.Sheets.StorageType.style)

  • Posted 20 September 2019, 4:44 pm EST

    Sorry I found the solution by using ```

    sheet.conditionalFormats.removeRuleByRange(sel.row, sel.col, sel.rowCount, sel.colCount);

Need extra support?

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

Learn More

Forum Channels