Blame view

public/assets/libs/bootstrap-table/src/extensions/copy-rows/README.md 1.08 KB
2db47680   hexiaodong   chore: 初始提交 php 遗...
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
36
37
38
39
40
41
  # Copy Rows
  
  Use Plugin: [copy-rows](https://github.com/wenzhixin/bootstrap-table/tree/develop/src/extensions/copy-rows)
  
  This extension adds functionality for copying selected rows to the clipboard. Currently works on all desktop browsers except safari.
  
  ## Usage
  
  ```html
  <script src="extensions/copy-rows/bootstrap-table-copy-rows.js"></script>
  ```
  
  ## Options
  
  ### copyBtn
  
  * type: Boolean
  * description: Set true to show the copy button. This button copys the contents of the selected rows to the clipboard.
  * default: `false`
  
  ### copyWHiddenBtn
  
  * type: Boolean
  * description: Set true to show the copy with hidden button. This button copys the contents of the selected rows to the clipboard, *including hidden rows*.
  * default: `false`
  
  ### copyDelemeter
  
  * type: String
  * description: This string will be inserted in-between the column values when copying
  * default: ` `
  
  ## Methods
  
  ### copyColumnsToClipboard
  
  * copys the contents of the selected rows to the clipboard.
  
  ### copyColumnsToClipboardWithHidden
  
  * copys the contents of the selected rows to the clipboard, *including hidden rows*.