EasyUI Forum
May 15, 2024, 03:18:30 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Bug with Datagrid under Menubutton  (Read 7464 times)
bdearborn
Newbie
*
Posts: 19


View Profile
« 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
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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/
Logged
bdearborn
Newbie
*
Posts: 19


View Profile
« Reply #2 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
« Last Edit: August 09, 2013, 08:13:57 AM by bdearborn » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!