Grid > Export PDF > Sticky Column malformed

1 Answer 137 Views
Grid PDF Export
August
Top achievements
Rank 1
August asked on 07 Jul 2022, 08:10 AM

When I export a PDF from a Grid component when I have the 1st column set to [sticky]="true"...

The exported PDF that is set to paperSize="auto", has the 1st sticky column stuck on the far right (over the last column).

I am not sure why, but all the other columns are correct in the PDF file.

<kendo-grid-column 
        title="Vehicle Details" 
        field="year"
        [width]="250" 
        [filterable]="false"
        [autoSize]="true"
        [sticky]="true"
        media="(min-width: 600px)"
>...
<kendo-grid-pdf
        fileName="floorplan-vehicle.pdf"
        [allPages]="true"
        paperSize="auto"
        [repeatHeaders]="true"
        [landscape]="true"
      >
</kendo-grid-pdf>

[Please see the attached screenshot]

Help please?

1 Answer, 1 is accepted

Sort by
1
Hetali
Telerik team
answered on 11 Jul 2022, 10:27 PM

Hi August,

Thank you for pointing that out. The described behavior of Sticky column during PDF export is indeed a bug on our end.

Please subscribe to this issue in our GitHub Issue tracker page to receive updates pertaining to the fix. 

As a workaround, please use the Locked column feature as seen in this StackBlitz example or define the columns in the PDFComponent as seen in this StackBlitz example.

I apologize for any inconvenience this may cause. As a token of gratitude to help us improve our component, I have added Telerik points to your account.

Please let me know if I can further assist you.

Regards,
Hetali
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

August
Top achievements
Rank 1
commented on 12 Jul 2022, 02:35 PM

I will dig into your suggested workaround.

Thank you!

Tags
Grid PDF Export
Asked by
August
Top achievements
Rank 1
Answers by
Hetali
Telerik team
Share this question
or