PDF Export
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
PDF Export
Subscribe
Last Login: 7/5/2010 8:29:46 AM
Posts: 427,
Posted 1/2/2009 6:15:26 AM

Group: Coolite Premium Member & Early Adopter
 Hi all,

based on this example:

http://examples.coolite.com/?/GridPanel/Miscellaneous/Export_Data_Ajax/

I added a PDF export button to generate a PDF file rendering the grid. I used iTextSharp open source library.
See file in attachment.

Pdf library:
http://sourceforge.net/projects/itextsharp/

Link to codeproject.com usefull article:
http://www.codeproject.com/KB/cs/iTextSharpPdfTables.aspx

Matteo


Post Attachments
Default.aspx (352 views, 14.56 KB)
Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 1/2/2009 7:49:55 AM

Group: Core Development Team
cool. Thanks for sharing!

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 7/6/2010 12:20:27 PM
Posts: 117,
Posted 8/11/2009 9:22:55 AM

Group: Coolite Premium Member & Early Adopter
I'd like to try this but when clicking on Default.aspx it shows a XML error.  Is there someplace else I can download it from?

Thanks~
Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 8/11/2009 12:58:15 PM

Group: Core Development Team
I'd like to try this but when clicking on Default.aspx it shows a XML error.  Is there someplace else I can download it from?

I get the exception as well, but if you right-click on link and select "Save As" it will download properly. crappy forum software is crappy. We'll be moving to a different forum system later this year.

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 7/6/2010 12:20:27 PM
Posts: 117,
Posted 8/11/2009 1:05:38 PM

Group: Coolite Premium Member & Early Adopter
I was able to use a combination of the grid sample listed and the following web site:

http://www.mikesdotnetting.com/Category/20 to figure it out.  Extremely easy and great idea using iTextSharp. 

Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 8/11/2009 1:06:56 PM

Group: Core Development Team
bsnezw (8/11/2009)
I was able to use a combination of the grid sample listed and the following web site:

http://www.mikesdotnetting.com/Category/20 to figure it out.  Extremely easy and great idea using iTextSharp.

Cool. Thanks for the update.

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 10/8/2009 6:26:54 PM
Posts: 1,
Posted 9/25/2009 1:22:28 AM

Group: Coolite Early Adopter
 3Q forsharing
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -5:00, Time now is 8:32pm