getColumnCount doesn't update on addColumns/deleteColumns

Posted by: davide.vago on 2 October 2019, 12:34 pm EST

  • Posted 2 October 2019, 12:34 pm EST

    Good afternoon,

    I’m currently trying to add/remove programmatically columns using the methods mentioned on the title.

    Unfortunately, I realised that even when the user add a new column manually the method getColumnCount doesn’t return the updated value.

    e.g. if the sheet instance gets generated with 10 columns (with data injected via setDataSource method) and the user adds or deletes manually some columns the getColumnCount returns always 10 as value.

  • Posted 3 October 2019, 4:24 am EST

    Hi,

    We are sorry but we are unable to replicate the issue at our end. Could you please have a look at the attached sample and let us know if we are missing something in order to replicate the issue

    https://codesandbox.io/s/spread-js-starter-4oo2l

    Regards

    Sharad

Need extra support?

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

Learn More

Forum Channels