Basic initialization
The Flash export buttons plug-in for Buttons provides four export buttons: copyFlash - copy to clipboard; csvFlash - save to CSV file; excelFlash - save to XLSX file; pdfFlash - save to PDF file. Please note that the HTML5 button types are preferred over the Flash buttons as they do not require Adobe Flash and are generally more configurable, however, not all browsers provide the functionality required for those buttons.
First Name Last Name Job Title DOB Status Salary
Marth Enright Traffic Court Referee 22 Jun 1972 Active $85,600
Jackelyn Weible Airline Transport Pilot 3 Oct 1981 Inactive $106,450
Aura Hard Business Services Sales Representative 19 Apr 1969 Suspended $237,500
Nathalie Pretty Drywall Stripper 13 Dec 1977 Pending $198,500
Sharan Leland Aviation Tactical Readiness Officer 30 Dec 1991 Inactive $470,600
Maxine Woldt Business Services Sales Representative 17 Oct 1987 Pending $90,560
Sylvia Mcgaughy Hemodialysis Technician 11 Nov 1983 Suspended $103,600
Lizzee Goodlow Technical Services Librarian 1 Nov 1961 Suspended $205,500
Kennedy Haley Senior Marketing Designer 18 Dec 1960 Active $137,500
Chantal Nailor Technical Services Librarian 10 Jan 1980 Inactive $372,000
Delma Bonds Lead Brand Manager 21 Dec 1968 Pending $162,700
Roland Salmos Senior Program Developer 5 Jun 1986 Inactive $433,060
Coy Wollard Customer Service Operator 12 Oct 1982 Active $86,000
Maxwell Maben Regional Representative 25 Feb 1988 Suspended $130,500
Cicely Sigler Senior Research Officer 15 Mar 1960 Pending $159,000
File name
By default the name of the file created by the excelFlash, csvFlash and pdfFlash button types will automatically be taken from the document's title element. It is also possible to set the file name to a specific value using the title option of these three button types. This example shows the title option being set for the excelFlash and pdfFlash buttons.
First Name Last Name Job Title DOB Status Salary
Marth Enright Traffic Court Referee 22 Jun 1972 Active $85,600
Jackelyn Weible Airline Transport Pilot 3 Oct 1981 Inactive $106,450
Aura Hard Business Services Sales Representative 19 Apr 1969 Suspended $237,500
Nathalie Pretty Drywall Stripper 13 Dec 1977 Pending $198,500
Sharan Leland Aviation Tactical Readiness Officer 30 Dec 1991 Inactive $470,600
Maxine Woldt Business Services Sales Representative 17 Oct 1987 Pending $90,560
Sylvia Mcgaughy Hemodialysis Technician 11 Nov 1983 Suspended $103,600
Lizzee Goodlow Technical Services Librarian 1 Nov 1961 Suspended $205,500
Kennedy Haley Senior Marketing Designer 18 Dec 1960 Active $137,500
Chantal Nailor Technical Services Librarian 10 Jan 1980 Inactive $372,000
Delma Bonds Lead Brand Manager 21 Dec 1968 Pending $162,700
Roland Salmos Senior Program Developer 5 Jun 1986 Inactive $433,060
Coy Wollard Customer Service Operator 12 Oct 1982 Active $86,000
Maxwell Maben Regional Representative 25 Feb 1988 Suspended $130,500
Cicely Sigler Senior Research Officer 15 Mar 1960 Pending $159,000
Custom PDF message
It can often be useful to include description text in the print view to provide summary information about the table that will be included in the generated PDF. The message option of the pdfFlash button type provides this ability. It is a simple string and cannot contain any formatting information. If you require control over the styling of the exported PDF, please refer to the pdfHtml5 button type.
First Name Last Name Job Title DOB Status Salary
Marth Enright Traffic Court Referee 22 Jun 1972 Active $85,600
Jackelyn Weible Airline Transport Pilot 3 Oct 1981 Inactive $106,450
Aura Hard Business Services Sales Representative 19 Apr 1969 Suspended $237,500
Nathalie Pretty Drywall Stripper 13 Dec 1977 Pending $198,500
Sharan Leland Aviation Tactical Readiness Officer 30 Dec 1991 Inactive $470,600
Maxine Woldt Business Services Sales Representative 17 Oct 1987 Pending $90,560
Sylvia Mcgaughy Hemodialysis Technician 11 Nov 1983 Suspended $103,600
Lizzee Goodlow Technical Services Librarian 1 Nov 1961 Suspended $205,500
Kennedy Haley Senior Marketing Designer 18 Dec 1960 Active $137,500
Chantal Nailor Technical Services Librarian 10 Jan 1980 Inactive $372,000
Delma Bonds Lead Brand Manager 21 Dec 1968 Pending $162,700
Roland Salmos Senior Program Developer 5 Jun 1986 Inactive $433,060
Coy Wollard Customer Service Operator 12 Oct 1982 Active $86,000
Maxwell Maben Regional Representative 25 Feb 1988 Suspended $130,500
Cicely Sigler Senior Research Officer 15 Mar 1960 Pending $159,000
Page size and orientation
The page size and orientation of the pdfFlash button type can be set using the orientation and pageSize options. By default these values are portrait and A4, but are easily customised as shown in this example which uses a landscape layout and US legal paper size. Page size supports A3, A4, A5, LEGAL, LETTER and TABLOID values. Orientation can be either vertical or horizontal.
First Name Last Name Job Title DOB Status Salary
Marth Enright Traffic Court Referee 22 Jun 1972 Active $85,600
Jackelyn Weible Airline Transport Pilot 3 Oct 1981 Inactive $106,450
Aura Hard Business Services Sales Representative 19 Apr 1969 Suspended $237,500
Nathalie Pretty Drywall Stripper 13 Dec 1977 Pending $198,500
Sharan Leland Aviation Tactical Readiness Officer 30 Dec 1991 Inactive $470,600
Maxine Woldt Business Services Sales Representative 17 Oct 1987 Pending $90,560
Sylvia Mcgaughy Hemodialysis Technician 11 Nov 1983 Suspended $103,600
Lizzee Goodlow Technical Services Librarian 1 Nov 1961 Suspended $205,500
Kennedy Haley Senior Marketing Designer 18 Dec 1960 Active $137,500
Chantal Nailor Technical Services Librarian 10 Jan 1980 Inactive $372,000
Delma Bonds Lead Brand Manager 21 Dec 1968 Pending $162,700
Roland Salmos Senior Program Developer 5 Jun 1986 Inactive $433,060
Coy Wollard Customer Service Operator 12 Oct 1982 Active $86,000
Maxwell Maben Regional Representative 25 Feb 1988 Suspended $130,500
Cicely Sigler Senior Research Officer 15 Mar 1960 Pending $159,000