I know this is more of a HTML question but considering everyone in this mail group is fab! I have a HTML table that is dynamically generated using: <logic:present name="Results"> <div id="blah2" style="width:700px; height:300px; overflow-y:scroll;overflow-x:scroll;border:'0px solid #000000';"> <table border=1 cellpadding='1' cellspacing='1'> <tr> <logic:iterate name="Results" property="columnnames" id="columnname"> <td><bean:write name="columnname"/></td> </logic:iterate> </tr> <logic:iterate name="Results" property="tabledata" id="rowdata"> <tr> <logic:iterate name="rowdata" id="columndata"> <td><bean:write name="columndata"/></td> </logic:iterate> </tr> </logic:iterate> </table> </div> <html:hidden property="sqltitle"/> </logic:present>
I want to add a button below that will export the table into Excel (like it does when you right click on the table and click Export to excel) and would like a button that prints the table and the table only. I can't use the display tag lib. Anyone got any suggestions? Thanks people! Chirag -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]