I haven't used Apache POI, so that may be the way to go. For my exports I use JExcel (http://jexcelapi.sourceforge.net/resources/faq/). With JExcel you will need to loop through the cells in you data table and create the Excel cells to match. There is example code in the FAQ I linked.

On 4/8/2011 6:55 AM, Rafał Krupiński wrote:
On Thu, Apr 7, 2011 at 16:40, henry<[email protected]>  wrote:
Hi guys,

please i need a code to export my dataTable values into an excel format on
click of a button.

Any help will do.
Use Apache POI to create excel file/stream and IResourceListener to
hook it to Wicket.

Next time research on your own and ask more specific questions ;-).


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to