EasyUI Forum
April 17, 2024, 06:08:33 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: tabs tools toolPosition  (Read 4181 times)
Aod47
Jr. Member
**
Posts: 81


View Profile
« 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.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2260


View Profile Email
« Reply #1 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'.
Logged
Aod47
Jr. Member
**
Posts: 81


View Profile
« Reply #2 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 });
Logged
jarry
Administrator
Hero Member
*****
Posts: 2260


View Profile Email
« Reply #3 on: May 14, 2018, 08:28:50 PM »

Please look at this example http://code.reloado.com/ixamor3/edit#preview. It works well.
Logged
Aod47
Jr. Member
**
Posts: 81


View Profile
« Reply #4 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%
« Last Edit: May 15, 2018, 12:27:02 AM by Aod47 » 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!