QuestionsAnswered.net
What's Your Question?

How to Export a File as a PDF

PDF is a hugely popular format for documents simply because it is independent of the hardware or application used to create that file. This means it can be viewed across multiple devices, regardless of the underlying operating system. Also, sharing between users is fairly easy. Another key advantage with PDF files is that files from any format can be converted to PDF format without any data loss whatsoever. That’s exactly what we’ll see in this article too. We will explore the different ways by which you can export a file as a PDF.
Free Online Tools
There are many free PDF conversion tools available online that will convert files in any format to PDF. A lot of them are simple to use as well. You have to upload a document in any format to the site and within minutes, the conversion is done and is ready for download. However, some sites do place a restriction on size and frequency. For example, some sites allow only small PDF files, typically less than a few MB while others restrict to one conversion an hour/day. You can overcome these restrictions by becoming a paid member of these sites.
Use Office Programs
You can use Microsoft Office programs to make this conversion, and no additional software is needed to translate to PDF document. To do that, navigate to File menu. Choose Export or Save As options depending on the Office document you’re using and select PDF option. This will transfer data in files to PDF format.
Adobe InDesign
To export an open document to PDF for printing or viewing, go to File > Export. Give a specific name and location for the new PDF file. If you prefer the PDF document to have the same name as that of the original one, use InDesign document name option.
Pages for Mac
If you want to save a Pages document in PDF format, simply open the document and choose File >Export To > PDF. You can even specify the necessary settings. You can add a password as well. To do this, simply check the password box and select a password for your document.
This adds an extra layer of security to your document, even if your computer is hacked or used by unauthorized users. This is particularly a useful feature to have for files containing confidential or private data.
File Converter Software
There are many paid and free pdf converter applications. But these have to be downloaded to your system and they come with a license, especially if it is a paid tool. Some conversion software gives a free trial period to give you a feel of what they’re offering and you can continue with the subscription if you’re interested.
If you have printable time sheets PDF or want to post PDF forms online, such a tool will be useful as it will do batch conversions as well.
In short, PDF format offers a ton of flexibility for users when compared to other document formats, and this is why you can choose from one of the above options to convert your documents to this format.
MORE FROM QUESTIONSANSWERED.NET

- Awards Season
- Big Stories
- Pop Culture
- Video Games
- Celebrities
Free Tools vs Paid Software: Choosing the Best Method to Export PDFs to Excel
In today’s digital age, PDF files have become an integral part of our daily lives. They are widely used for various purposes, including business transactions, document sharing, and data storage. However, when it comes to extracting data from a PDF file and converting it into an Excel spreadsheet, many people find themselves at a loss. Thankfully, there are several methods available to export PDFs to Excel. In this article, we will explore the two main options: free tools and paid software.
The Power of Free Tools
Free tools are often the first choice for individuals and small businesses looking to export PDFs to Excel without breaking the bank. These tools provide a cost-effective solution that allows users to convert their files quickly and easily.
One popular free tool for exporting PDFs to Excel is Adobe Acrobat Reader DC. This software allows users to open and view PDF files on their computers or mobile devices. While it doesn’t offer direct conversion capabilities, it provides an option to export tables from a PDF file as an XML spreadsheet format (.xlsx), which can be opened in Microsoft Excel.
Another well-known free tool is Smallpdf. This web-based platform offers a range of features, including the ability to convert PDFs into various formats such as Word, PowerPoint, and Excel. Users can simply upload their PDF file, select the desired output format (in this case, Excel), and wait for the conversion process to complete.
The Advantages of Paid Software
While free tools are convenient and budget-friendly options for many users, they may not always provide the advanced features required by businesses or individuals dealing with complex data extraction tasks. This is where paid software comes into play.
Paid software solutions like Adobe Acrobat Pro DC offer comprehensive features specifically designed for professional use. With advanced OCR (optical character recognition) technology, these tools can accurately extract data from PDF files and convert them into editable Excel spreadsheets. Additionally, paid software often provides batch processing capabilities, allowing users to convert multiple PDFs to Excel simultaneously.
Another advantage of paid software is the added security and privacy features. These tools usually come with encryption options that protect sensitive data during the conversion process. This can be crucial for businesses dealing with confidential information.
Choosing the Best Method for You
Deciding between free tools and paid software ultimately depends on your specific needs and requirements. If you’re an individual or a small business with simple data extraction tasks, free tools like Adobe Acrobat Reader DC or Smallpdf may be sufficient for your needs. They offer convenience and ease of use without any financial burden.
However, if you deal with complex data extraction tasks or require advanced features such as batch processing or enhanced security measures, investing in paid software like Adobe Acrobat Pro DC may be a better option. It provides the necessary tools to handle intricate PDF to Excel conversions efficiently and securely.
In conclusion, both free tools and paid software have their own advantages when it comes to exporting PDFs to Excel. Consider your specific needs and budget before making a decision. Whether you choose a free tool or invest in paid software, rest assured that there are solutions available to help you efficiently convert your PDF files into Excel spreadsheets hassle-free.
This text was generated using a large language model, and select text has been reviewed and moderated for purposes such as readability.
MORE FROM ASK.COM

- skip navigation Kendo UI for Angular Product Bundles DevCraft All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with: NEW : Design Kits for Figma
Getting Started
- Charts updated
- Conversational UI
- Date Inputs
- Dropdowns updated
- Excel Export
- Gantt updated
- Grid updated
- Data Binding
- Data Operations
- Master-Detail
- Rows updated
- Accessories updated
- Scroll Modes
- Printing the Grid
- Performance
- Persist State
- Globalization
- Keyboard Navigation
- Accessibility
- Notification
- ProgressBars
- Spreadsheet new
- TreeList updated
- TreeView updated
- Styling & Themes
- Common Features
- Project Setup
- Knowledge Base
- Sample Applications
- Troubleshooting
The Grid provides options for exporting its content to PDF.
To enable the PDF export, import the PDFModule and add the kendo-grid-pdf component to the Kendo UI Grid for Angular. To initiate the PDF export, use the kendoGridPDFCommand directive or the saveAsPDF method.
Configuration
With regard to its PDF export, the Grid enables you to:
- Export all its pages to PDF
- Fit its content within the paper size
- Customize the exported columns
- Specify a page template
- Export multiple Grids to a single PDF file
- Trigger the export externally
- Export groups of rows to separate pages
- Save the generated PDF files
- Embed custom fonts
- Exporting All Pages
By default, the Grid exports only the current page of data. To export all pages, set the allPages option to true . When you enable the option, the pageChange event fires with skip set to 0 and take to the total number of records. The original skip and take are restored after the export completes.
The export of all Grid pages requires all records to be rendered at once. Behind the scenes, a Grid with no paging applied is rendered off-screen. The exact maximum number of exportable rows varies depending on the browser, system resources, template complexity, and other factors. Verify your own worst-case scenarios in each browser you intend to support. When the Grid templates contain asynchronously rendered content such as Kendo UI for Angular Charts, use the delay option to specify the number of milliseconds by which the export will be postponed to ensure all content is rendered before the export starts.
- Fitting Content to Paper Size
By default, the paper size of the exported document is determined by the size of the Grid on the screen. However, you can define a specific paper size that will apply to the whole document. As a result, the content is scaled to fit the specified paper size. It is possible to override the automatic scale factor—for example, to make room for additional page elements.
To use the whole space that is available, the Grid:
- Adjusts the column widths to fill the page.
- Adapts the number of rows for each page and places page breaks where appropriate.
- Omits the toolbar and pager.
- Customizing Exported Columns
The Grid enables you to specify the columns that will be exported. To configure them, include the <kendo-grid-column> and <kendo-grid-column-group> components inside the <kendo-grid-pdf> component.
- Specifying Page Template
The Grid enables you to specify a page template that helps you position the content and add headers, footers, and other elements. To style the exported document, use the built-in kendoGridPDFTemplate and apply the necessary CSS styles. During the PDF export, the template is positioned in a container with the specified paper size.
When using the template, you are required to set the paperSize option.
The following example demonstrates how you can add headers and footers to the exported PDF file using the built-in kendoGridPDFTemplate .
- Exporting Multiple Grids to the Same PDF
By default, the each Grid is exported to a separate document.
To export multiple Grids to the same document:
- Use the drawPDF method to get the group of Grids for export.
- Set the exportPDF method to export the group.
- Triggering Export Externally
The Grid enables you to trigger the export operation by calling the saveAsPDF method.
- Exporting Groups of Rows to Separate Pages
You can manually split the exported data into separate pages by using the forcePageBreak option of the PDFComponent .
- Sort the data by the respective field.
- By utilizing the rowClass function, add the class that will be used by the forceBreakPage option to the first row of each items group.
The following example demonstrates how to render all items with the same Category name to a separate PDF page.
- Saving PDF Files
Internet Explorer 9 and Safari do not support the option for saving the exported PDF file and require the implementation of a server proxy . To specify the server proxy URL, set the proxyURL option.
Your project might require you to send the generated PDF file to a remote service. To achieve this behavior, set the proxyUrl and forceProxy to true . If the proxy returns 204 No Content , the Save As... dialog will not appear on the client.
- Embedding Custom Fonts
The default fonts in the PDF files do not provide Unicode support. To render international characters, you need to embed an external font. For more information, refer to the article on custom fonts and PDF export .
In the following example, the DejaVu Sans font is loaded and applied to the exported PDF document.
- Known Limitations
The rendition of right-to-left content is not supported.
Exporting Master-Detail Grids to PDF is not supported.
Overflowing text is clipped and text-overflow: ellipsis is not supported.
Images that are hosted on different domains might not be rendered unless the server provides the permissive Cross-Origin HTTP headers . Similarly, it might not be possible for fonts to load across domains.
Even if the proper CORS headers are provided, Internet Explorer 9 will not be able to load images or fonts from another domain, which might raise an uncatchable security exception. To support Internet Explorer 9, host the images and fonts on the same domain as the application.
The 1.5 PDF specification limits the maximum PDF document size to 5,080 x 5,080 millimeters (which equals to 200x200 inches). Larger files might not open in all viewers.
Older browsers, such as Internet Explorer 9 and Safari, require you to implement a server proxy. For more information, refer to the proxyUrl configuration section .
- Suggested Links
- PDFComponent
- PDFTemplateDirective
- API Reference of the GridComponent
- API Index of the Grid
In this article
Not finding the help you need, is this article helpful, thank you for your feedback.
- Installation and First Steps
- What's New
- Release History
Support Resources
- Virtual Classroom
- Form Design Guidelines
- Feedback Portal
- Angular Blogs
- Angular Forum

Telerik and Kendo UI are part of Progress product portfolio. Progress is the leading provider of application development and digital experience technologies.
- Press Releases
- Media Coverage
Copyright © 2023 , Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
- Terms of Use
- Privacy Center
- Security Center
- License Agreements
- Code of Conduct
- Doc Copyright
- skip navigation Kendo UI for jQuery Product Bundles DevCraft All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with: NEW : Design Kits for Figma
New to Kendo UI for jQuery? Download free 30-day trial
jQuery Grid Export to PDF
- VIEW SOURCE
- Edit in Kendo UI Dojo
- Ocean Blue A11Y accessibility
- Bootstrap 3
- Bootstrap 3 Dark
- Turquoise Dark
- Lavender Dark
- Silver Dark
Also available for:
This page loads pako zlib library (pako_deflate.min.js) to enable compression in the PDF. This is highly recommended as it improves performance and rises the limit on the size of the content that can be exported.
The Standard PDF fonts do not include Unicode support. In order for the output to match what you see in the browser you must provide source files for TrueType fonts for embedding. Please read the documentation about embedding custom fonts and PDF output .
Description
The Kendo UI for jQuery Grid comes with the built-in option to export its data to a PDF file.
This demo showcases how you can enable the PDF export functionality by adding the Export to PDF command to the toolbar of the Grid, and also how you can exclude specific columns from being exported by setting their exportable property to false .
This Grid example is part of a unique collection of hundreds of jQuery demos, with which you can see all Kendo UI for jQuery components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Kendo UI for jQuery Dojo or ThemeBuilder .
Support & Learning Resources
- Grid Export to PDF Documentation
- jQuery Grid API
- jQuery Grid Forums
- Kendo UI for jQuery Grid Product Homepage
- Kendo UI for jQuery Knowledge Base

Additional Resources
- Kendo UI for jQuery Product Overview
- Kendo UI for jQuery Blog
- Kendo UI for jQuery Videos
- Kendo UI for jQuery Roadmap
- Kendo UI for jQuery Pricing
- Kendo UI for jQuery Training
Search code, repositories, users, issues, pull requests...
Provide feedback.
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly.
To see all available qualifiers, see our documentation .
- Notifications
Customize the data in Kendo Grid pdf export
kendo-grid kendo-ui telerik
I am using the built in functionality of Kendo Grid to export the grid data in pdf and excel http://demos.telerik.com/kendo-ui/grid/pdf-export . It is working fine for me. I want to customize the data that is exported i.e. add some additional columns and remove some of the columns of grid. Is there any way to customize the export data using templates or some other feature.
Thanks in advance.
Best Solution
You have two options:
- Define a second grid with the columns that you want to export to PDF and when asked to export actually export the second. Both grids should share the datasource so filtering, orders... will be shared.
- Intercept pdfExport event that is fired before the PDF is generated and hide/show the columns using showColumn and hideColumn methods.
The following code shows second approach (despite I -personally- prefer first). You will see that before clicking on export button you see EmployeeID but the PDF does not contain this column but includes Country .
Related Solutions
Export customize data to excel in kendo grid.
Please find the fiddle here, hope it will help to solve your issue. You can read the documentation here .
[ UPDATE ] To Export only filtered rows then use the following code. Refer the fiddle for working example
Related Question
- How to use KendoUI in Asp.Net MVC
- Creating User Registration Form with KendoUI Controls.
- Data Binding and Filtering
- Client side validation with DataAnnotation and Kendo Validator
- Sending data to MVC controller with Ajax.
- Bind Kendo Grid with server side data
- kendo ListView
- Inline CRUD with Kendo Grid
- Add and Edit Kendo Grid with PopUp window
- Cascade DropDownList
- Export Kendo Grid as PDF and Excel
- Export Kendo Grid to Excel and PDF with button outside of Grid
- Autocomplete server side binding
Export Kendo Grid to Pdf and Excel
by Sachin Singh
Posted on Tuesday, 09 February 2021
Tags: Export Kendo Grid to Pdf and Excel
This article demonstrates, how to export Kendo Grid to PDF and Excel . Kendo UI gives us the built-in functionality to export the Grid to Excel or Pdf and we just need to configure the Grid correctly. In the article Crud with Kendo Grid we have already discussed to bind grid with server side data. Please go through that article before going through this article , as here we will only discuss the export functionality of Grid.
Step 1. Add the Excel and Pdf command to the toolbar of Grid as shown below.
Step 2. Define the proxy url and other settings for Excel and Pdf as shown below.
Step 3. Create a Method in the controller to download the excel or Pdf , this method goes to the ProxyUrl() extension method of Grid.
Step 4. Add the reference of jszip library in the layout page or view page
The complete Grid including all columns and commands for insert, update, Delete, Read , Pdf Export and Excel Export will look like as shown below.
Now run the application and you will be successfully able to download the Grid as PDF and Excel.
Please Login before you comment or like
sharpencode is a free online tutorial site for Web Development and Designing.It mainly covers the topics related to microsoft technologies. While using this site, you agree to have read and accepted our terms of use and Privacy Policy .
- Entity Framework
- Asp.net MVC
Subscribe to Sharpencode email list and get latest updates, tips & tricks on C#, .Net, MVC, jQuery, Angular, KendoUI to your inbox.
We respect your privacy.
- privacy policy
- Terms of use
2023 sharpencode.com.All Rights Reserved.
Helping Ninja Technologists
Developer experiences powered by gtm catalyst.

Simple Export to PDF from your Data Grid using Kendo UI
In my last blog post, we looked at a new feature of Kendo UI Grid released as part of our Q3 2014 – namely Export to Excel. Exporting data from Data Grid was a high ask feature and we provided that in our latest release of the product. In this blog post we will look at how to export the data grid contents to PDF. Kendo UI Data Grid support exporting to PDF out of the box. So let’s start looking at some code.
Creating a Grid:
As usual let’s build a simple grid. I will make use of our Northwind service available on our demo server as a data source to the grid. Here is the code snippet:
This will produce the following grid:

Kendo UI Grid
Providing Export Option on the Grid:
As seen in my previous blog post on Excel Export, for PDF also we have a command bar option available out of the box. We just have to add a toolbar command named “pdf”. This will provide an “Export to PDF” on the grid toolbar and clicking which will export the Grid to PDF. Here is the code snippet:
And here is the snapshot of how our grid will look like now:

Kendo UI Grid with Export button
If we now click on the “Export to PDF” we will get the Grid exported to a PDF document and the PDF will be saved to your system. Here is a snapshot of the PDF file itself:

PDF Document
Well that’s all it takes to export your Grid data to PDF.
Customizing the Exported PDF File:
Kendo UI Grid also provides certain options which can be set on the grid itself and these options will control how the PDF exported file has to be shaped. Here are the options supported for PDF export:
Here is the code snippet on how to set the PDF options:
Programmatically Export to PDF:
Toolbar option to provide an export option is great. It lets you add export feature without much of you doing any coding. But what if you have a situation where you want to a button outside of the Grid i.e. no toolbar button. And you want the grid to be exported to PDF on click of that external button. Kendo UI Grid covers you in this scenario by exposing a method called “saveAsPDF()”. You just grab instance of the grid at runtime and invoke the method “saveAsPDF()” to start the export. That’s as easy and simple it is. Here is the code snippet to show this:
That’s all its there to exporting the data grid to a PDF document. Do give it a try and let us know if you have any suggestion/feedback on this feature.
All the code in this blog post can be accessed on our Kendo UI DoJo here: http://dojo.telerik.com/@kashyapa/ADUVi
Share this:
3 thoughts on “ simple export to pdf from your data grid using kendo ui ”.
Yes. That’s good.. Is there a possibility to add Header and footer in PDF ?
As well as, How to export all pages of grid to pdf with header text and footer text for pdf ?
Is it possible to save the file in server?
Leave a Reply Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed .

- Already have a WordPress.com account? Log in now.
- Follow Following
- Copy shortlink
- Report this content
- View post in Reader
- Manage subscriptions
- Collapse this bar

- TECHNOLOGIES
- An Interview Question

Export Kendo Grid Data To PDF At Client Side Using Jquery & AngularJS

- Dhananjay Tathe
- Nov 23, 2016
Here, you will see how to eExport Kendo Grid data to PDF at client-side, using jQuery & AngularJS.
Export Kendo The Kendo UI Grid provides client PDFexport functionality which is powered by the underlying Drawing API engine of the Kendo UI framework. To enable it, include the corresponding command to the grid toolbar and configure the PDF Export settings. For instance, you can specify - export all pages, margins, paper size, font, etc.
- <script>
- $(document).ready( function () {
- $( "#grid" ).kendoGrid({
- toolbar: [ "pdf" ],
- pdf: {
- allPages: true ,
- avoidLinks: true ,
- paperSize: "A4" ,
- margin: {
- top: "2cm" ,
- left: "1cm" ,
- right: "1cm" ,
- bottom: "1cm"
- },
- landscape: true ,
- repeatHeaders: true ,
- template: $( "#page-template" ).html(),
- scale: 0.8
- },
- dataSource: {
- type: "odata" ,
- transport: {
- read: //call data source method
- pageSize: 20
- height: 550,
- sortable: true ,
- pageable: {
- refresh: true ,
- pageSizes: true ,
- buttonCount: 5
- columns: [{
- field: "ID" ,
- title: "ID" ,
- hidden: false
- }, {
- field: "Name" ,
- title: "Name" ,
- field: "DOB" ,
- title = "Date Of Birth" ,
- width: 150,
- hidden: true
- }]
- });
- });
- </script>
- <div id= "grid" ></div> <br> <button id= "btnExport" >Export to PDF</button>
- $( "#btnExport" ).kendoButton({
- click: function () {
- $( "#grid" ).data( "kendoGrid" ).saveAsPDF();
- }
Here is the code snippet on how to set the PDF options
- $( "#grid" ).kendoGrid({
- tooldbar: [“pdf”],
- pdf: {
- author: "Dhananjay Tathe" ,
- creator: "Saviant Consulting" ,
- date: new Date(),
- fileName: "Your File Name.pdf" ,
- keywords: "keywords" ,
- landscape: false ,
- margin: {
- left: 10,
- right: "10pt" ,
- top: "10mm" ,
- bottom: "1in"
- paperSize: "A4" ,
- subject: "PDF subject" ,
- title: "PDF title"
- },
- </script>
- Kendo Grid Data
- Client Side

IMAGES
VIDEO
COMMENTS
In today’s fast-paced business world, productivity is key. Finding efficient ways to handle data and streamline processes can give your business a competitive edge. One such way is by exporting PDFs to Excel for free.
PDF is a hugely popular format for documents simply because it is independent of the hardware or application used to create that file. This means it can be viewed across multiple devices, regardless of the underlying operating system. Also,...
In today’s digital age, PDF files have become an integral part of our daily lives. They are widely used for various purposes, including business transactions, document sharing, and data storage.
To enable the PDF export, import the PDFModule and add the kendo-grid-pdf component to the Kendo UI Grid for Angular. To initiate the PDF
Get started with the jQuery Grid by Kendo UI which provides options for exporting its data as a PDF file.
The built-in PDF export option of the Kendo UI Grid exports as many columns as it can fit on a page with a defined page size. If the columns do not fit, they
An HTML5, jQuery-based widget library for building modern web apps. - kendo-ui-core/docs/knowledge-base/grid-export-pdf-without-toolbar-pager.md at master
Best Solution · Define a second grid with the columns that you want to export to PDF and when asked to export actually export the second. · Intercept pdfExport
Step 1. Add the Excel and Pdf command to the toolbar of Grid as shown below. .ToolBar(
In my last blog post, we looked at a new feature of Kendo UI Grid released as part of our Q3 2014 – namely Export to Excel.
Kendo UI for MVC: Export to Pdf not working ... I am using @(Html.Kendo().Grid in my .cshtml page in mvc application. I want to export the
1 Answer 1 ... The issue was only present in FireFox as the reason why the PDF was failing to export the rows was explained as such: The font for
Starter project for Angular apps that exports to the Angular CLI.
Export Kendo Grid Data To PDF At Client Side Using Jquery & AngularJS · <div id="grid"></div> <br> <button id="btnExport">Export to PDF</button>