EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: dacracot on August 10, 2015, 01:21:14 PM



Title: Two datagrids on two tabs, rows not displayed when second is revealed.
Post by: dacracot on August 10, 2015, 01:21:14 PM
I've set up two tabs, each with a separate datagrid.  Each datagrid is populated with rows.  When I click the second tab to reveal the second datagrid, it only displays the border and title, the rows and field titles are missing.  Upon examination with firebug, they are there, but undisplayed.  I can access the row values through the datagrid methods.  If I pull the second datagrid out from the tab panel, it displays correctly.




Title: Re: Two datagrids on two tabs, rows not displayed when second is revealed.
Post by: jarry on August 10, 2015, 03:59:30 PM
Please refer to this example, the datagrid on the second tab panel works fine.

http://www.jeasyui.com/demo/main/index.php?plugin=Layout&theme=default&dir=ltr&pitem=Complex%20Layout


Title: Re: Two datagrids on two tabs, rows not displayed when second is revealed.
Post by: dacracot on August 14, 2015, 12:16:49 PM
Thanks for making me look carefully again.  An enclosing panel with conflicting CSS was the actual culprit, not EasyUI at all.