Telerik Forums
Kendo UI for Angular Forum
0 answers
23 views

I have an angular project that has a kendo grid that needs to be exported into PDF.  Kendo grid has an expanded details per specific items when conditions met. 

As can see below, I need to make the parent row to be together with its expanded detail when the page breaks. How can I achieve it?



Appreciate the response about my inquiry.

 

Thank you!

Yadabase
Top achievements
Rank 1
 asked on 13 Mar 2024
2 answers
21 views

https://www.telerik.com/kendo-angular-ui/components/pdf-export/auto-print/

In this scenario you have to use the checkbox.  However, I would like to use 2 buttons.  One for Download only and one for Download with auto print.  The problem I'm having is that setting the autoPrint = true in code does not work in Angular until the second time.  So it appears that Kendo does not pick up the change in value.  

Does anyone know a way to make this happen without using a checkbox?

John
Top achievements
Rank 1
Iron
 updated answer on 30 Jan 2024
1 answer
148 views

Hello,

How can we use dropdown buttons to show export to excel and export to pdf options in grid's header? I'm not able to visualize how to use kendoGridExcelCommand and kendoGridPdfCommand in dropdown button.

 

Hetali
Telerik team
 updated answer on 17 Oct 2023
1 answer
130 views

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?

Hetali
Telerik team
 answered on 11 Jul 2022
1 answer
283 views

In the Trigger Export Externally example, the source code requires an Element Ref ID to be added:

<kendo-grid
     #grid="kendoGrid"
     ...
>
...
<kendo-grid-pdf
     fileName="Products.pdf"
     [allPages]="true"
     paperSize="A4"
     [repeatHeaders]="true"
     [landscape]="true"
>
</kendo-grid>

<button kendoButton (click)="exportToPDF(grid)">Export Grid to PDF</button>

ERRORS in Jest:

The only error shown after running a coverage test is the following:

NG0301: Export of name 'kendoGrid' not found!. Find more at https://angular.io/errors/NG0301

This basically says that I need to import into my *.module.ts -- but I am not seeing in the forums what exactly needs to be imported to help satisfy the tests.

Please advise!

 

Martin Bechev
Telerik team
 answered on 04 Jul 2022
1 answer
168 views

Hi,

Is it possible to export a master-detail grid to PDF? I've been able to do it in excel with your examples but haven't figured out how to do it with PDF.
Also when is pdfExport event emitted? I'm calling grid.saveAsPDF() but the event doesn't seem to be emitted.

Thanks in advance!

Hetali
Telerik team
 updated answer on 15 Jun 2022
1 answer
45 views

Hi,

I have the scenario where I have to implement a three-layered master-detail as shown in the snapshot.

Is there any possibility of exporting?

Thanks in advance.

Ivan
Telerik team
 answered on 07 Mar 2022
1 answer
54 views

How to integrate Reporting tool in Kendo UI Angular?

In DataGrid, export PDF is taking snapshot and downloads but not actually data?

Thanks in advance.

Martin Bechev
Telerik team
 answered on 03 Mar 2022
0 answers
206 views

Good day,

I need to customize the grid output during PDF export, but it is not clear to me how to do this. All the sample show how to add header/foorter, but I need to change what/how the grid is drawing. 

For example, remove any row background colors, sep lines, font size, etc.

Any examples around of how I might do this?

Thank you!

Tyler
Top achievements
Rank 1
Iron
 asked on 14 Feb 2022
0 answers
77 views
I try to load 1 million data in kendo grid and converted it to pdf , it is not working . But  when i try with small amounts of data it is working. Can I know maximum limit for data  export  to pdf and also i need a solution for transforming 1 million data into pdf .
venkatesan
Top achievements
Rank 1
 asked on 09 Jun 2021
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?