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

[Solved] Adding title information in the Export options

1 Answer 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sabarishbabu
Top achievements
Rank 1
sabarishbabu asked on 03 Aug 2009, 09:25 AM

Hi,

I am trying to export the Grid details to Word/Excel/PDFformat files. I am able to accomplish the same. I would like to add Title,Headers and footers to the exported data.

When I open the exported file I should see the Titles andthen Data.

For example..

Title: sometitle

Subject: somesubject

From: dateTo: date

Grid data

.

.

.

.

Report for To –From days


Thanks

Sabarish

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Aug 2009, 10:39 AM
Hi Sabarish,

I would suggest you to use CommandItemTemplate for this purpose. You may include these details as a part of its content and set ExportSettings -> ExportOnlyData = false in the export button's click event. You can also refer the following help article which explains more about this. Go through the portion titled Including additional information as part of the exported document.
Exporting tips and tricks

Shinu.
Tags
Grid
Asked by
sabarishbabu
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or