layout: docs title: Table Copy Rows description: Table Copy Rows extension of Bootstrap Table. group: extensions
This extension adds functionality for copying selected rows to the clipboard. Currently works on all desktop browsers except safari.
{% highlight html %} {% endhighlight %}
Attribute: data-show-copy-rows
type: Boolean
Detail:
Set true to show the copy button. This button copy the contents of the selected rows to the clipboard.
falseAttribute: data-copy-delimiter
type: String
Detail:
This delimiter will be inserted in-between the column values when copying.
', 'Attribute: data-copy-newline
type: String
Detail:
This newline will be inserted in-between the row values when copying.
'\n'Attribute: data-copy-width-hidden
type: Boolean
Detail:
Set true to copy with hidden columns.
falseAttribute: data-ignore-copy
type: Boolean
Detail:
Set true to ignore this column while copying.
falseAttribute: data-raw-copy
type: Boolean
Detail:
Set true to copy the raw value instead the formatted one.
If no formatter is used, this option has no effect.
falsetype: Function
Default: function () { return "Copy Rows" }