mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-29 02:40:15 +02:00
Updated 1.09 Submit and reset button (markdown)
parent
c8ab7a4efc
commit
d81093d72b
|
@ -1,3 +1,4 @@
|
|||
## Properties
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -126,6 +127,37 @@ var tfConfig = {
|
|||
</pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>toolbar_position</th>
|
||||
<td>string</td>
|
||||
<td>defines where it will be placed inside the toolbar (default - 'right')</td>
|
||||
<td>3 possible values: 'left', 'center' and 'right'</td>
|
||||
<td>
|
||||
<pre>
|
||||
var tfConfig = {
|
||||
btn_reset: {
|
||||
toolbar_position: 'center'
|
||||
}
|
||||
};
|
||||
</pre>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
## Callbacks
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Property</th>
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
<th>Remarks</th>
|
||||
<th>Example</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<th>on_before_reset</th>
|
||||
<td>function</td>
|
||||
|
@ -150,20 +182,5 @@ var tfConfig = {
|
|||
</td>
|
||||
<td><code>var tfConfig = { on_after_reset: function(tf){ alert('Filters are cleared'); }}</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>toolbar_position</th>
|
||||
<td>string</td>
|
||||
<td>defines where it will be placed inside the toolbar (default - 'right')</td>
|
||||
<td>3 possible values: 'left', 'center' and 'right'</td>
|
||||
<td>
|
||||
<pre>
|
||||
var tfConfig = {
|
||||
btn_reset: {
|
||||
toolbar_position: 'center'
|
||||
}
|
||||
};
|
||||
</pre>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
Loading…
Reference in a new issue