liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Table Export
 
Use Plugin: [tableExport.jquery.plugin](https://github.com/hhurz/tableExport.jquery.plugin)
 
## Usage
 
```html
<script src="extensions/export/bootstrap-table-export.js"></script>
```
 
## Options
 
### showExport
 
* type: Boolean
* description: set `true` to show export button.
* default: `false`
 
### exportDataType
 
* type: String
* description: export data type, support: 'basic', 'all', 'selected'.
* default: `basic`
 
### exportTypes
 
* type: Array
* description: export types, support types: 'json', 'xml', 'png', 'csv', 'txt', 'sql', 'doc', 'excel', 'powerpoint', 'pdf'.
* default: `['json', 'xml', 'csv', 'txt', 'sql', 'excel']`
 
### exportOptions
 
* type: Object
* description: export [options](https://github.com/hhurz/tableExport.jquery.plugin#options) of `tableExport.jquery.plugin`
* default: `{}`