mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
include search event as default value for select2
This commit is contained in:
parent
d88d010ce0
commit
4ec8789b73
@ -3538,7 +3538,7 @@ $('table').trigger('search', false);</pre></div>
|
||||
<ul>
|
||||
<li>Possible values to use as parameter
|
||||
<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>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>
|
||||
|
@ -922,7 +922,7 @@
|
||||
liveSearch = typeof wo.filter_liveSearch === 'boolean' ?
|
||||
wo.filter_liveSearch :
|
||||
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;
|
||||
|
||||
if ( table.config.widgetOptions.filter_initialized ) {
|
||||
|
Loading…
Reference in New Issue
Block a user