EasyUI Forum
May 16, 2024, 03:46:08 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 bad formatting inside tabs  (Read 5887 times)
retroip
Newbie
*
Posts: 7


View Profile Email
« on: August 24, 2013, 07:50:35 AM »

Hello Community,
I'v searched for my "problem" but I did not found any similar topic to mine. So:

I'm trying to achieve correct looking datagrid inside tabs, but Columns does not autofit.

I have 3 tabs, each tab has its own datagrid. 1st is looking properly but 2nd and 3rd has column headers somehow corrupted.

 
Code:
<div id="tabs" class="easyui-tabs" style="height: auto">
        <div title="tab1" style="padding: 10px">
            <table id="table1"> <!-- DATAGRID -->
            </table>
        </div>
        <div title="tab2" style="padding: 10px;" data-options="cache:false">
            <table id="table2"> <!-- DATAGRID -->
            </table>
        </div>
        <div title="tab3" style="padding: 10px" data-options="cache:false">
            <table id="table3"> <!-- DATAGRID -->
            </table>
        </div>
</div>


I'm attaching screen shot with 1st and then 2nd tab selected.

I'v played with caches too. In my other project I'v solved it by loading external content for each tab after clicking on it. I think somehow could be this attempt solvable too.

DataGrid method "fixColumnSize" does not fix this.
I'v also tried to switch tables to prevent some my mistakes.

jQuery 1.8.0
jEasyUI 1.3.2


Any advices ?

Thank you very much for your support
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: August 24, 2013, 08:21:10 PM »

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