EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: bdearborn on August 08, 2013, 05:29:56 PM



Title: Bug with Datagrid under Menubutton
Post by: bdearborn on August 08, 2013, 05:29:56 PM
Hello,

I believe that I have uncovered a bug where a datagrid does not initialize when it is placed as content under a menubutton. Please see my example in the following fiddle:

http://jsfiddle.net/dAVxm/1/

Best,
-Blake


Title: Re: Bug with Datagrid under Menubutton
Post by: stworthy on August 08, 2013, 07:11:17 PM
You need to call 'resize' method for datagrid when menu is dropped down. Here is the updated example http://jsfiddle.net/dAVxm/2/


Title: Re: Bug with Datagrid under Menubutton
Post by: bdearborn on August 09, 2013, 08:11:39 AM
Hello,

Is there a way to make it work when connecting the data to a webservice url?

http://jsfiddle.net/dAVxm/4/
(I am not sure how to connect to the data using jsfiddle)

Best,
-Blake