|
Title: menu: content wider than the item width Post by: itay-g on July 22, 2014, 01:30:58 AM Hi,
I'm using easyui menu and sometimes the contents of some items 'cuts' because the menu item width is smaller than it's content width. I noticed it happens only when the item starts not visible (display none) and then i dynamically change it's state to visible. I need the menu item width will fit their content width. I appreciate your help Thanks, Itay Title: Re: menu: content wider than the item width Post by: jarry on July 22, 2014, 02:38:34 AM Please call 'showItem' or 'hideItem' methods to display or hide a menu item. These two methods are extended in the patch file, which can be downloaded from http://www.jeasyui.com/download/downloads/jquery-easyui-1.3.6-patch.zip. The code below shows how to display a menu item.
Code: var item = $('#mm').menu('findItem', 'Open');Title: Re: menu: content wider than the item width Post by: itay-g on July 23, 2014, 07:48:29 AM Works. Thank you!
|