This is a migrated thread and some comments may be shown as answers.

Exporting Spreadsheet to PDF

5 Answers 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Min
Top achievements
Rank 1
Min asked on 20 Apr 2017, 02:19 PM
I'm trying to export spreadsheet to PDF, It appears to have some problems. When you save as PDF it comes as blank page.

5 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 20 Apr 2017, 03:00 PM
Hi Min,

Telerik Reporting libraries can produce Excel and PDF files from a single report template, but converting an Excel file to PDF is out of the scope of the Reporting engine.

Details how to create and export reports in the formats supported by Telerik Reporting can be found in the Quickstart section and Exporting Reports Programmatically.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Min
Top achievements
Rank 1
answered on 20 Apr 2017, 08:33 PM
Is there any way to disable Export to PDF from Spreadsheet?
0
Stef
Telerik team
answered on 21 Apr 2017, 11:14 AM
Hello Min,

If you refer to the 'Save As' functionality of MS Word, it is out of the scope of the reporting engine.

If you need to limit export options available through a Telerik Report Viewer, then check Limit export options in ReportViewer to certain format only.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Min
Top achievements
Rank 1
answered on 21 Apr 2017, 06:08 PM

Here what is I'm trying to do. 

Code:

var spreadsheet: kendo.ui.Spreadsheet = $(element)
.kendoSpreadsheet({
toolbar: {
home: ['exportAs', 'filter'],
insert: false,
data: false
},
render: (e: kendo.ui.SpreadsheetRenderEvent): void => {
if (renderCount == 0) {
renderCount += 1;
setTimeout((): void => {
$(window).scrollTop(currentScrollToTop);
$(window).resize();
}, 100);
}
},
pdf: {
area: 'workbook'
}
})
.data('kendoSpreadsheet');

I'm trying to export the data to PDF. Attaching the Screen Capture. It doesn't like it. Do I need to do some thing different? I want to disable PDF save as type in the dropdown.  

0
Stef
Telerik team
answered on 24 Apr 2017, 09:36 AM
Hello Min,

The question is related to Telerik Kendo UI libraries - Spreadsheet: pdf.creator.
Spreadsheet / Server Export to PDF online demo

If you need further help, please post the question in the corresponding forum of Kendo UI or through the support ticketing system. Thus your inquiry will be addressed by the team having the knowledge of the used components.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Min
Top achievements
Rank 1
Answers by
Stef
Telerik team
Min
Top achievements
Rank 1
Share this question
or