Export html table to excel spreadsheet

Discussions related to modeling and execution of forms.
Forum rules
Make sure every topic contains information about your LSPS version and if relevant also your server OS, client OS, database name and version, and application server name and version.
Radovan Cervenka
Posts: 48
Joined: Mon Feb 27, 2012 2:47 pm

Re: Export html table to excel spreadsheet

Thu Jul 02, 2015 4:07 pm

Hi Djeison,
attached you will find an example of generic simple table with CSV export link. See its usage in form1.form. The core is implemented in myTable() function which takes a collection of records and specification of columns as parameters and creates the desired UIComponents by expression; not very nice but works. This solution is not very optimal, because the content of the table is placed to a collection stored in memory; however, it should work for smaller amounts of data and maybe could be sufficient for your case. If not, I would suggest to use SDK to implement this in Java function or custom component.
Example of generic usage of modeled CSV export
(131.41 KiB) Downloaded 198 times

Posts: 34
Joined: Fri Feb 27, 2015 4:38 pm

Re: Export html table to excel spreadsheet

Thu Jul 02, 2015 6:59 pm

Thank you Radovan. It works fine and for my case it will be enough, at least for now. Thank you again :)

Posts: 2
Joined: Mon May 09, 2016 5:41 am

Re: Export html table to excel spreadsheet

Tue May 10, 2016 8:29 am

Nice post. I like it. Thanks for sharing these information.
Fashion bubble football : bubble football

Return to Forms

Who is online

Users browsing this forum: No registered users and 1 guest