Cell losing custom format

Posted by: it on 10 April 2018, 7:02 am EST

    • Post Options:
    • Link

    Posted 10 April 2018, 7:02 am EST

    I add a custom format to a cell A1. Then i add another custom format to cell B1.

    Now when selecting again cell A1, it seems not to display the custom format in the custom textbox.

    I have this behaviour also on the demo page: https://www.grapecity.com/en/demos/spread/JS/InspectorSample/

    Is there a solution to this, so on every cell selection the custom textbox is correctly refreshed?

  • Posted 11 April 2018, 5:52 am EST

    Hello,

    This is incorrect behavior shown by online demo. However in your application you get the format using getFormatter method of Spread.Sheets and set it in the desired textbox.

    var format = activeSheet.getFormatter(0,1,GC.Spread.Sheets.SheetArea.viewport);

    Thanks,

    Deepak Sharma

Need extra support?

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

Learn More

Forum Channels