Skip to content
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.

Commit

Permalink
refined README and adjusted defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
clarketm committed May 11, 2016
1 parent 7b88e26 commit 7bec76e
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Notice that by default, TableExport will create export buttons for three differe
```js
/* Defaults */
$("table").tableExport({
headings: true, // (Boolean), display table headings (th/td elements) in the <thead>>
headings: true, // (Boolean), display table headings (th/td elements) in the <thead>
footers: true, // (Boolean), display table footers (th/td elements) in the <tfoot>
formats: ["xls", "csv", "txt"], // (String[]), filetype(s) for the export
fileName: "id", // (id, String), filename for the downloaded file
Expand Down
16 changes: 8 additions & 8 deletions dist/js/tableexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,14 @@

// Define the plugin default properties.
$.fn.tableExport.defaults = {
headings: true, // (Boolean), display table headings (th or td elements) in the <thead>, (default: true)
footers: false, // (Boolean), display table footers (th or td elements) in the <tfoot>, (default: false)
formats: ["xls", "csv", "txt"], // (String[]), filetype(s) for the export, (default: ["xls", "csv", "txt"])
fileName: "id", // (id, String), filename for the downloaded file, (default: "id")
bootstrap: true, // (Boolean), style buttons using bootstrap, (default: true)
position: "bottom", // (top, bottom), position of the caption element relative to table, (default: "bottom")
ignoreRows: null, // (Number, Number[]), row indices to exclude from the exported file (default: null)
ignoreCols: null // (Number, Number[]), column indices to exclude from the exported file (default: null)
headings: true, // (Boolean), display table headings (th or td elements) in the <thead>, (default: true)
footers: true, // (Boolean), display table footers (th or td elements) in the <tfoot>, (default: false)
formats: ["xls", "csv", "txt"], // (String[]), filetype(s) for the export, (default: ["xls", "csv", "txt"])
fileName: "id", // (id, String), filename for the downloaded file, (default: "id")
bootstrap: true, // (Boolean), style buttons using bootstrap, (default: true)
position: "bottom", // (top, bottom), position of the caption element relative to table, (default: "bottom")
ignoreRows: null, // (Number, Number[]), row indices to exclude from the exported file (default: null)
ignoreCols: null // (Number, Number[]), column indices to exclude from the exported file (default: null)
};

$.fn.tableExport.charset = "charset=utf-8";
Expand Down
2 changes: 1 addition & 1 deletion dist/js/tableexport.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions src/stable/js/tableexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,14 @@

// Define the plugin default properties.
$.fn.tableExport.defaults = {
headings: true, // (Boolean), display table headings (th or td elements) in the <thead>, (default: true)
footers: false, // (Boolean), display table footers (th or td elements) in the <tfoot>, (default: false)
formats: ["xls", "csv", "txt"], // (String[]), filetype(s) for the export, (default: ["xls", "csv", "txt"])
fileName: "id", // (id, String), filename for the downloaded file, (default: "id")
bootstrap: true, // (Boolean), style buttons using bootstrap, (default: true)
position: "bottom", // (top, bottom), position of the caption element relative to table, (default: "bottom")
ignoreRows: null, // (Number, Number[]), row indices to exclude from the exported file (default: null)
ignoreCols: null // (Number, Number[]), column indices to exclude from the exported file (default: null)
headings: true, // (Boolean), display table headings (th or td elements) in the <thead>, (default: true)
footers: true, // (Boolean), display table footers (th or td elements) in the <tfoot>, (default: false)
formats: ["xls", "csv", "txt"], // (String[]), filetype(s) for the export, (default: ["xls", "csv", "txt"])
fileName: "id", // (id, String), filename for the downloaded file, (default: "id")
bootstrap: true, // (Boolean), style buttons using bootstrap, (default: true)
position: "bottom", // (top, bottom), position of the caption element relative to table, (default: "bottom")
ignoreRows: null, // (Number, Number[]), row indices to exclude from the exported file (default: null)
ignoreCols: null // (Number, Number[]), column indices to exclude from the exported file (default: null)
};

$.fn.tableExport.charset = "charset=utf-8";
Expand Down
Loading

0 comments on commit 7bec76e

Please sign in to comment.