Expand/Collapse Button Not Visible in Spread Js 12

Posted by: pooja.bansal on 1 October 2019, 5:23 pm EST

  • Posted 1 October 2019, 5:23 pm EST

    In angular 5 expand/collapse buttons were visible in spread js 12 but when we migrated our application to angular 7 expand/collapse buttons disappears.
    Grouping was working fine on Angular 5 application.

    Please reply asap.
  • Replied 1 October 2019, 9:50 pm EST

    In our application (Angular 7) we are trying to set image in rowheader in spread js 12.

    oneSpread.Sheets[sheetno].RowHeader.Cells[activeRow, level].Value = cell;
    oneSpread.Sheets[sheetno].RowHeader.Cells[activeRow - 1, level].Value = image;

    Same code is working in Spread 12 but not in Spread JS 12.

    Can you please provide the solution how we can achieve that with Spread JS 12?
  • Replied 2 October 2019, 9:32 pm EST

    Hi Pooja,

    Regarding the row/column expand/collapse group button issue, we are unable to replicate at our end, please have a look at the shared below and let us know if we are missing something in order to replicate the issue. Also please let us know the spread version you are using.

    Regarding images in row header, SpreadJS do not support setting image type values directly in the cell, we need to create a custom cell type to draw images and set the cell type of the header cells to use our image type cell type. Please refer to the sample shared below which demonstrates the same;
    https://stackblitz.com/edit/angular-p6unar?file=src/app/app.component.ts

    Regards
    Sharad
Need extra support?

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

Learn More

Forum Channels