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

Two export buttons (Excel and PDF)

1 Answer 178 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Augustin
Top achievements
Rank 1
Augustin asked on 16 Mar 2017, 08:41 AM

Hi All,

I'm a beginner in kendo UI and i want to implement two export buttons ( excel and pdf) on my grid. Can someone help me?

 

Best regards

1 Answer, 1 is accepted

Sort by
0
Augustin
Top achievements
Rank 1
answered on 16 Mar 2017, 03:44 PM

Hi all,

i finally found how to do it just by setting this properties on my grid

toolbar: ["excel","pdf"],
                        excel: {
                            fileName: "Kendo UI Grid Export.xlsx",
                            allPages: true
                        },
                        pdf: {
                            fileName: "Kendo UI Grid Export.pdf",
                            allPages: true
                        }

 

 

Best regards

Tags
Grid
Asked by
Augustin
Top achievements
Rank 1
Answers by
Augustin
Top achievements
Rank 1
Share this question
or