velappan velappan skrev 27. aug. 2009 15:37: > Hi All, > > I am creating one plugin with option of reports with export to excel > option for that am unable to process for datas to excel can any one > help me on this. > > I have thought couple of options for this. > > 1)One is from client-side convert table to excel > 2)Render the trac csv export > > Can any one help on how to render the trac csv export option that > available in trac.
While I'm not familiar enough to help you get started on the actual development, I think you'd be better off exporting data as xml, rather than csv. With the newer versions of excel, you can get by with a minimum of xml cruft around your data. This should also be fairly easy to render using standard templates -- the caveat being that you should set the doctype, and ofcourse strip out all navigation etc. For some inspiration see (the last part of): http://www.ibm.com/developerworks/opensource/library/os-phpexcel/index.html Best regards, -- .---. Eirik Schwenke <[email protected]> ( NSD ) Harald HÃ¥rfagresgate 29 Rom 150 '---' N-5007 Bergen tlf: (555) 889 13 GPG-key at pgp.mit.edu Id 0x8AA3392C
signature.asc
Description: OpenPGP digital signature
