EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Aod47 on May 13, 2018, 10:29:47 PM



Title: tabs tools toolPosition
Post by: Aod47 on May 13, 2018, 10:29:47 PM
I applied tabs tools for display summary information of record.
please see attached picture.

I think its look better if tools location above the tabs.
I found in document that toolPosition property has only 2 values left or right.
Could you please advice how to set tools on top above tatbs.

Thank you.


Title: Re: tabs tools toolPosition
Post by: jarry on May 14, 2018, 01:39:54 AM
Please try to download a newer version and set the tabs component's 'toolPosition' property to 'top'.


Title: Re: tabs tools toolPosition
Post by: Aod47 on May 14, 2018, 07:44:38 PM
Thank you, problem solved. But new problem rise when use newer version.
Datagrid was resize when open window next time.
 
I tried the code below not working.
Code:
$('#dg').datagrid('resize', { height: 500 });


Title: Re: tabs tools toolPosition
Post by: jarry on May 14, 2018, 08:28:50 PM
Please look at this example http://code.reloado.com/ixamor3/edit#preview. It works well.


Title: Re: tabs tools toolPosition
Post by: Aod47 on May 15, 2018, 12:20:02 AM
It's strange!
From chrome console.

datagrid-wrap shrink to 75px.
datagrid-view shrink to 75px.
and datagrid-body shrink to 73px.

I fixed it by set tabtool height 500px instead 75%