mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-09 01:12:38 +02:00
Updated 1.15 No results message (markdown)
parent
10314ebdca
commit
ccfb4180de
|
@ -14,10 +14,10 @@
|
|||
<tr>
|
||||
<th>no_results_message</th>
|
||||
<td>boolean or literal object</td>
|
||||
<td><p> enables / disables the message appearing when a search has no matches (default - false)</td>
|
||||
<td>enables / disables the message appearing when a search has no matches (default - false)</td>
|
||||
<td>You can use this option as a literal object too</td>
|
||||
<td>
|
||||
<pre>
|
||||
<pre>
|
||||
var tfConfig = { help_no_results_message: true };
|
||||
// or
|
||||
var tfConfig = {
|
||||
|
@ -25,7 +25,22 @@ var tfConfig = {
|
|||
content: 'Data not found'
|
||||
}
|
||||
};
|
||||
</pre>
|
||||
</pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>content</th>
|
||||
<td>string</td>
|
||||
<td>Specify the text for the no results message (default - 'No results')</td>
|
||||
<td>It also accepts markup</td>
|
||||
<td>
|
||||
<pre>
|
||||
var tfConfig = {
|
||||
help_no_results_message: {
|
||||
content: '<h3>No results found</h3>'
|
||||
}
|
||||
};
|
||||
</pre>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in a new issue