layout: docs title: Custom View description: Custom View extension of Bootstrap Table. group: extensions
This extension adds the ability to create a custom view to display the data.
{% highlight html %} {% endhighlight %}
Attribute: data-custom-view
Type: Function|Boolean
Detail:
Set to false to disable this extension.
Set to function to format your custom view.
falseAttribute: data-show-custom-view
Type: Boolean
Detail:
Set to true to show the custom view as default view.
falseAttribute: data-show-custom-view-button
Type: Boolean
Detail:
Set to true to show the custom view toggle button.
falseglyphicon glyphicon-eye-openfa fa-eyefa fa-eyefa fa-eyefa fa-eyeremove_red_eyetype: Function
Default: function () { return "Toggle custom view;}