EasyUI Forum

General Category => Bug Report => Topic started by: rickmus on December 23, 2018, 03:37:45 PM



Title: datagrid on tab incorrect height
Post by: rickmus 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;">


Title: Re: datagrid on tab incorrect height
Post by: jarry on December 23, 2018, 06:28:15 PM
Please refer to this example http://code.reloado.com/osajeq3/edit#preview


Title: Re: datagrid on tab incorrect height
Post by: rickmus 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.


Title: Re: datagrid on tab incorrect height
Post by: jarry on December 25, 2018, 06:44:39 PM
Please try to update to the newest version.