corrade-nucleus-nucleons – Blame information for rev 20
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
20 | office | 1 | # Copy Rows |
2 | |||
3 | Use Plugin: [copy-rows](https://github.com/wenzhixin/bootstrap-table/tree/develop/src/extensions/copy-rows) |
||
4 | |||
5 | This extension adds functionality for copying selected rows to the clipboard. Currently works on all desktop browsers except safari. |
||
6 | |||
7 | ## Usage |
||
8 | |||
9 | ```html |
||
10 | <script src="extensions/copy-rows/bootstrap-table-copy-rows.js"></script> |
||
11 | ``` |
||
12 | |||
13 | ## Options |
||
14 | |||
15 | ### copyBtn |
||
16 | |||
17 | * type: Boolean |
||
18 | * description: Set true to show the copy button. This button copys the contents of the selected rows to the clipboard. |
||
19 | * default: `false` |
||
20 | |||
21 | ### copyWHiddenBtn |
||
22 | |||
23 | * type: Boolean |
||
24 | * 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*. |
||
25 | * default: `false` |
||
26 | |||
27 | ### copyDelemeter |
||
28 | |||
29 | * type: String |
||
30 | * description: This string will be inserted in-between the column values when copying |
||
31 | * default: ` ` |
||
32 | |||
33 | ## Methods |
||
34 | |||
35 | ### copyColumnsToClipboard |
||
36 | |||
37 | * copys the contents of the selected rows to the clipboard. |
||
38 | |||
39 | ### copyColumnsToClipboardWithHidden |
||
40 | |||
41 | * copys the contents of the selected rows to the clipboard, *including hidden rows*. |