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

Custom Format for Data in gridview

3 Answers 55 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Usman
Top achievements
Rank 1
Usman asked on 16 Aug 2015, 05:27 PM

How can i generate a custom format of the data that is displayed in the gridview?

for example, i want to generate a timesheet for employees in my organization, the first line of the sheet should be the name of organization, second line should be the name of the employee and then the gridview should be binded with the database.

i also want to export data from this gridview to excel sheet. 

format image is attached bellow

can someone help me?

 

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 17 Aug 2015, 02:20 PM
Hi Usman,

Thank you for writing.

You can build a form which contains a grid along with the other fields (if they are needed at this point). Then you can export the grid with the new spread exporter. This will allow you to edit the exported document by using our Spread Processing Library and add the additional fields to the document. More information is available in the following articles: 
I hope this information helps.

Regards,
Dimitar
Telerik
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
Usman
Top achievements
Rank 1
answered on 18 Aug 2015, 06:19 AM

thank you so much for your response. 

the grid view spread exporter is present in which library?

its giving me error namespace not found. i have included the reference but still no luck.. any help?

0
Dimitar
Telerik team
answered on 18 Aug 2015, 10:01 AM
Hello Usman,

Thank you for writing back.

You should add a reference to the TelerikExport assembly. In addition, you may need to include the SpreadProcessing assemblies as well. The following article shows which assemblies you should reference: Getting Started.

Let me know if you have additional questions.
 
Regards,
Dimitar
Telerik
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
GridView
Asked by
Usman
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Usman
Top achievements
Rank 1
Share this question
or