gwtbootstrap3 / gwtbootstrap3-extras

Extra (third party) wrappers for GwtBootstrap3
Apache License 2.0
43 stars 89 forks source link

How to add open/close handler for drop-down menu of the multiselect? #266

Closed shabak closed 8 years ago

shabak commented 8 years ago

In my case I need to do some actions just after closing drop-down menu, not on checking, since I use multiselect mode of the control. Thanks!

crevete commented 8 years ago

In the current version, no event handler is wrapped. This widget needs work anyway : http://silviomoreto.github.io/bootstrap-select/options/#events

shabak commented 8 years ago

Here is a solution: http://stackoverflow.com/questions/34931853/gwtbootstrap3-extras-select-how-to-add-open-close-handler-for-drop-down-menu-of

crevete commented 8 years ago

One more time, this should be reworked and included in the library. You can do anything by extending the select widget for now, but it is not a good solution.

shabak commented 8 years ago

for sure

crevete commented 8 years ago

FYI, now you can call addHideHandler or addHiddenHandler to do what you want.

For more details, please see http://gwtbootstrap3.github.io/gwtbootstrap3-demo/snapshot/#select