Export Plsql Dynamic Content to Excel file in Oracle Apex
I am using Oracle Apex version 5.1.2.00.09 . We are generating a html table using plsql dynamic content region . We have a requirement of exporting this html table to excel/ csv. Please suggest some solution to export a plsql dynamic content to an excel file/csv file .
Sample of plsql code in the plsql dynamic content is-
BEGIN
htp.htmlopen;
htp.bodyopen;
htp.tableOpen('<TH border=1 </TH>');
htp.tableHeader('Number');
htp.tableHeader('Code');
for i in 1 .. 51
loop
htp.tableRowOpen;
htp.tableData(i);
htp.tableData('abcd');
end loop;
htp.tableRowClose;
htp.bodyclose;
htp.htmlclose;
END;
Thanks in advance....
Comments
Post a Comment