Sparkline in represented in grid gets disappear on page change

When Sparkline is added in one column gets disappear on adding pagination and page changed.

I have referred following code to represent Sparkline in grid.

https://stackblitz.com/edit/angular-rmt1t6-fto7zl?file=app.component.html

In this code when I modify and add [allowPaging]='true' and change the page Sparkline disappear.


I have attached two snaps. 1] Without changing page  2] After change page


Thanks,

Shivani

PageNotChangedSiMetry.pngPageChangedSiMetry.png


1 Reply

DV Duraimurugan Vedagiri Syncfusion Team July 30, 2021 01:20 PM UTC

Hi Shivani,

Thank you for contacting Syncfusion support.

We have analyzed the reported query - “Sparkline gets disappeared while navigate to another page of Grid” and suggest that the Sparkline component to be rendered in the Grid component's dataBound event rather than the created event. Please refer the sample from below link.

https://stackblitz.com/edit/angular-rmt1t6-ehehum?file=app.component.html  

Let us know if you need any further assistance.

Regards,
Durai Murugan V

Loader.
Up arrow icon