mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-12-05 05:04:20 +00:00
include search event als default to use select2
This commit is contained in:
parent
7d58c8de18
commit
5a98bf94f2
@ -3538,7 +3538,7 @@ $('table').trigger('search', false);</pre></div>
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Possible values to use as parameter
|
<li>Possible values to use as parameter
|
||||||
<ul>
|
<ul>
|
||||||
<li>Boolean <code>false</code> Default same as <code>['blur', 13]</code></li>
|
<li>Boolean <code>false</code> Default same as <code>['blur', 'search', 13]</code></li>
|
||||||
<li>String <code>search change keypress input blur</code> Events</li>
|
<li>String <code>search change keypress input blur</code> Events</li>
|
||||||
<li>Number Keycodes 13 = Enter, 9 = Tab, etc. see <code>$.tablesorter.keyCodes</code> for internal constants</li>
|
<li>Number Keycodes 13 = Enter, 9 = Tab, etc. see <code>$.tablesorter.keyCodes</code> for internal constants</li>
|
||||||
<li>Object <code>{keycode: Number, ctrl : boolean, alt : boolean, shift : boolean}</code></li>
|
<li>Object <code>{keycode: Number, ctrl : boolean, alt : boolean, shift : boolean}</code></li>
|
||||||
|
@ -922,7 +922,7 @@
|
|||||||
liveSearch = typeof wo.filter_liveSearch === 'boolean' ?
|
liveSearch = typeof wo.filter_liveSearch === 'boolean' ?
|
||||||
wo.filter_liveSearch :
|
wo.filter_liveSearch :
|
||||||
ts.getColumnData( table, wo.filter_liveSearch, column ),
|
ts.getColumnData( table, wo.filter_liveSearch, column ),
|
||||||
searchTrigger = wo.filter_searchTrigger === false ? ['blur' , tskeyCodes.enter ] : wo.filter_searchTrigger,
|
searchTrigger = wo.filter_searchTrigger === false ? ['blur' , 'search', tskeyCodes.enter ] : wo.filter_searchTrigger,
|
||||||
triggerSearch = false;
|
triggerSearch = false;
|
||||||
|
|
||||||
if ( table.config.widgetOptions.filter_initialized ) {
|
if ( table.config.widgetOptions.filter_initialized ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user