EasyUI Forum
May 04, 2024, 04:32:48 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: datagrid on tab incorrect height  (Read 6205 times)
rickmus
Newbie
*
Posts: 8


View Profile Email
« on: December 23, 2018, 03:37:45 PM »

I have a dialog which contains a tabs compoent and two tabs.  On the second tab, there is a datagrid.

If I open the dialog the first time, the datagrid displays properly.  If I open the dialog a second+ time, and I default the tabs to the first panel ( not the one with the datagrid ), then the datagrid is blank.  It appears the view height is 0.  I've set everything to fixed sizes and this does not correct the issue.

Here's what the inspector in chrome shows:
   <div class="datagrid-view" style="width: 504px; height: 0px;">
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: December 23, 2018, 06:28:15 PM »

Please refer to this example http://code.reloado.com/osajeq3/edit#preview
Logged
rickmus
Newbie
*
Posts: 8


View Profile Email
« Reply #2 on: December 24, 2018, 11:01:45 AM »

This revision demonstrates the bug:
http://code.reloado.com/upokav3/2/edit#preview

1.  View the tab with the datagrid, observe it is correct
2.  Switch to the first tab
3.  Close dialog
4.  Open dialog
5.  View the tab with the datagrid, observe it is a blank box.

The changes to this revision is the call to the loadData and setting the datagrid to a specific size.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #3 on: December 25, 2018, 06:44:39 PM »

Please try to update to the newest version.
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!