Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed menu (list box) variant #721

Closed
SteveTheTechie opened this issue Jan 7, 2018 · 2 comments
Closed

Fixed menu (list box) variant #721

SteveTheTechie opened this issue Jan 7, 2018 · 2 comments

Comments

@SteveTheTechie
Copy link
Contributor

One of the things I really like about this widget is how it conserves screen space. It puts a lot of functionality in the space of a button.

In contrast, the underlying native multi-select takes up more screen space, particularly if there are a lot of options.

However, there are cases involving small set of options where it can be helpful to immediately show the user all of the available options without needing to click a button. For these situations, it would be helpful to have a variant of this widget that just shows the menu fixed in place (no pop-up) without the button.

@mlh758
Copy link
Collaborator

mlh758 commented Jan 8, 2018

This one I think I'm going to have to say no to. That might be better as a separate widget.

@SteveTheTechie
Copy link
Contributor Author

It does not need to be a separate widget... Just set appendTo to the element, do not insert a button, force autoOpen to true and never change it. I think it would be reasonably simple.

mlh758 pushed a commit that referenced this issue 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
@mlh758 mlh758 closed this as completed Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants