|
|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
---
|
|
|
|
|
|
-The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
|
|
|
+The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
|
|
|
|
|
|
<table class="table"
|
|
|
data-toggle="table"
|
|
|
@@ -81,11 +81,16 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
|
|
|
<td>data-icons</td>
|
|
|
<td>Object</td>
|
|
|
<td>{<br/>
|
|
|
- refresh: 'glyphicon-refresh icon-refresh',<br/>
|
|
|
- toggle: 'glyphicon-list-alt icon-list-alt',<br/>
|
|
|
- columns: 'glyphicon-th icon-th'<br/>
|
|
|
- }</td>
|
|
|
- <td>Defines icons that used for refresh, toggle and columns buttons</td>
|
|
|
+ <i>paginationSwitchDown:</i> 'glyphicon-collapse-down icon-chevron-down',<br/>
|
|
|
+ <i>paginationSwitchUp:</i> 'glyphicon-collapse-up icon-chevron-up',<br/>
|
|
|
+ <i>refresh:</i> 'glyphicon-refresh icon-refresh',<br/>
|
|
|
+ <i>toggle:</i> 'glyphicon-list-alt icon-list-alt',<br/>
|
|
|
+ <i>columns:</i> 'glyphicon-th icon-th',<br/>
|
|
|
+ <i>detailOpen:</i> 'glyphicon-plus icon-plus',<br/>
|
|
|
+ <i>detailClose:</i> 'glyphicon-minus icon-minus'<br/>
|
|
|
+ }
|
|
|
+ </td>
|
|
|
+ <td>Defines icons used in the toolbar, pagination, and details view.</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>columns</td>
|
|
|
@@ -307,7 +312,7 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
|
|
|
<td>data-minimum-count-columns</td>
|
|
|
<td>Number</td>
|
|
|
<td>1</td>
|
|
|
- <td>The minimum count columns to hide of the columns drop down list.
|
|
|
+ <td>The minimum number of columns to hide from the columns drop down list.
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -420,7 +425,7 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
|
|
|
<td>data-click-to-select</td>
|
|
|
<td>Boolean</td>
|
|
|
<td>false</td>
|
|
|
- <td>True to select checkbox or radiobox when click rows.</td>
|
|
|
+ <td>True to select checkbox or radiobox when clicking rows.</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>singleSelect</td>
|
|
|
@@ -435,7 +440,7 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
|
|
|
<td>String</td>
|
|
|
<td>undefined</td>
|
|
|
<td>
|
|
|
- A jQuery selector that indicate the toolbar, for example:<br>
|
|
|
+ A jQuery selector that indicates the toolbar, for example:<br>
|
|
|
#toolbar, .toolbar.
|
|
|
</td>
|
|
|
</tr>
|
|
|
@@ -466,7 +471,7 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
|
|
|
<td>Function</td>
|
|
|
<td>{}</td>
|
|
|
<td>
|
|
|
- The row style formatter function, take two parameters: <br>
|
|
|
+ The row style formatter function, takes two parameters: <br>
|
|
|
row: the row record data.<br>
|
|
|
index: the row index.<br>
|
|
|
Support classes or css.
|
|
|
@@ -478,7 +483,7 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
|
|
|
<td>Function</td>
|
|
|
<td>{}</td>
|
|
|
<td>
|
|
|
- The row attribute formatter function, take two parameters: <br>
|
|
|
+ The row attribute formatter function, takes two parameters: <br>
|
|
|
row: the row record data.<br>
|
|
|
index: the row index.<br>
|
|
|
Support all custom attributes.
|