You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to customize the menu width base on the content of each row inside (strings with medium long length). but when i use menuWidth option and specify value to auto or 210, it's nothing change on the menu.
I'm using:
jQuery MultiSelect UI Widget 1.13
jQuery 1.6.2
Here is example code: $(selector).multiselect({ selectedText: " Selected #/#", header: true, classes: 'mutiselect-css', noneSelectedText: '- Please select-', checkAllText: 'Select All', uncheckAllText: 'Ignore All', menuWidth: 'auto', minWidth: 120 });
The text was updated successfully, but these errors were encountered:
i found a solution but i don't think its bullet proof
you need to edit the js an in _setMenuWidth you change this.$menu.width(contentWidth);
to this.$menu.width('auto');
now if you write auto in the menuWidth option its defining the width with auto
I want to customize the menu width base on the content of each row inside (strings with medium long length). but when i use
menuWidth
option and specify value toauto
or210
, it's nothing change on the menu.I'm using:
Here is example code:
$(selector).multiselect({ selectedText: " Selected #/#", header: true, classes: 'mutiselect-css', noneSelectedText: '- Please select-', checkAllText: 'Select All', uncheckAllText: 'Ignore All', menuWidth: 'auto', minWidth: 120 });
The text was updated successfully, but these errors were encountered: