Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

[Added] Browse/Print: Direct CSV Download from HTML Table (nuBuilder 4.9)

Information about updates, news, Code Library
Post Reply
admin
Site Admin
Posts: 2824
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

[Added] Browse/Print: Direct CSV Download from HTML Table (nuBuilder 4.9)

Unread post by admin »

A new feature has been added to the Browse/Print interface: Download as CSV


You can now download the HTML table directly as a CSV file — making it easier to export and manipulate data outside nuBuilder.

Shortcut: Press **Ctrl + Shift + D** while in Browse/Print to instantly trigger the download!

Reminder: Press Ctrl + Shift + P to display the Print View.
If the nuPrintButton setting is enabled, you can also access Print View by clicking the Print button or choosing Options → Print.

print download.png
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4444
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 75 times
Been thanked: 484 times
Contact:

Re: [Added] Browse/Print: Direct CSV Download from HTML Table (nuBuilder 4.8.x)

Unread post by kev1n »

Customise CSV Export

You can now customise the Browse/Download to CSV functionality by setting export options directly in the form's Custom Code section.

To use this feature, define your export options using the following code:

Code: Select all

var exportOptions = {
    delimiter: ';',
    lineTerminator: '\r\n',
    includeHeaders: true,
    bom: true,
    fileName: 'custom_export.csv',
    autoDownload: true,
    autoClose: false
};

nuPrintCSVExportOptions(exportOptions);
Available Options:

delimiter – Field separator (default: ;)
lineTerminator – Line ending (default: \r\n)
includeHeaders – Whether to include column headers (default: true)
bom – Add BOM for UTF-8 encoding (default: true)
fileName – Name of the exported file, e.g. export.csv (default: a form's description + .csv extension)
autoDownload – Automatically start download when the page loads (default: false)
autoClose – Close the tab after download completes (default: false)

This gives you full control over how CSV files are generated from your form’s Browse screen.
kev1n
nuBuilder Team
Posts: 4444
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 75 times
Been thanked: 484 times
Contact:

Re: [Added] Browse/Print: Direct CSV Download from HTML Table (nuBuilder 4.8.x)

Unread post by kev1n »

A new feature has been added to the Browse/Print interface: Copy to Clipboard and CSV Export Options

You can now quickly copy the table contents to your clipboard for pasting into Excel or other apps.

Shortcut: Press Ctrl + Shift + C while in Browse/Print to instantly copy the table!
browse_print.png

An Options button has also been added, letting you configure CSV export settings such as the delimiter, file name, and more.

csv export options.png
You do not have the required permissions to view the files attached to this post.
Post Reply