Skip to content

Conversation

@andrey-lysikov
Copy link

Set dropdown menu as resizable, if Jquery UI and method resizable is presed. And save height into options.

Set dropdown menu as resizable, if Jquery UI and method resizable is presed. And save height into options.
@SteveTheTechie
Copy link
Contributor

I think this can be pulled into version 3. However, the PR code as presented here is not sufficient. The dimensions of the various components of the widget will need to be recalculated on a resize.

@SteveTheTechie SteveTheTechie mentioned this pull request Feb 25, 2018
@mlh758 mlh758 closed this Feb 28, 2018
mlh758 pushed a commit that referenced this pull request Mar 9, 2018
Fixes:

Fix #750 
Fix #721 
Fix #605 
Fix #467 
Fix #454
Fix #436 
Fix #232 
Fix #163, 
Fix #86

### Many new features and improvements:

1. Expanded on iconSet concept to create linkInfo option to allow configuration of all header link attributes, including icons, text, and titles.s.
2. Menu height can now be dynamically resized via the jQuery UI resizable widget, if loaded and resizableMenu option set to true.
3. Fixed some issues w/ the menu height getting mangled when filtering was in used.
4. Modifed how header option is used.  Can still set to false to hide header, but now it is also used to specify what header links are seen and in what order.
5. The multiselect can now also be used as a fixed list box (always open; no pop-up) via the listbox option.
6. New options groupsSelectable and groupsCollapsable control whether option groups can be selected and/or collapsed, respectively.
7. Option groups can now be set to be collapsable.  A new small button shows up at the left of each option group heading to collapse/expand the option group.
8. New resync and value methods allow quickly updating the widget options checked state from the underlying native select.
9. Can now use the up/down keys on closed single select to change the selected option if the button is focussed.
10. Fixed a previously unknown bug caused by binding menu events to the outer $menu container div instead of the $checkboxes container.  This bug caused the menu events handler to also try to handle header events.
11. Added the ability to reference option groups by their label or index for use as a filter.  Now usable programmatically in addOption, checkAll, uncheckAll, flipAll, collapseAll, and expandAll.
12. Simplified the auto width determination for the _setMenuWidth() method by tweaking the related CSS rules.  As a benefit, the _getScrollBarWidth() function has been eliminated.
13. Updated and simplified the _setMenuHeight() method to allow it to better work with filtering.
14. Re-wrote the filter widget--can now search option group headings and supports alternative filter rules.
15. Updated and added unit tests.
16. Updated demos and changed theme to Redmond--no more ugly construction orange.
17. Updated i18n files for new linkInfo option format.
18. Using .data('ech-multiselect') to fetch the instance now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants