EasyUI Forum
March 28, 2024, 06:43:56 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: [SOLVED] Treegrid nowrap  (Read 7557 times)
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« on: January 27, 2017, 02:21:57 AM »

Hello
I have treegrid and want to use nowrap="false", so I can see whole text, but it soes not work, please see image below.
« Last Edit: January 30, 2017, 01:26:04 AM by Pierre » Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 27, 2017, 08:05:54 AM »

If you want to display the tree field in multiple lines, please try this code:
Code:
<style>
.tree-title{
white-space: normal;
height: auto;
}
</style>
Logged
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« Reply #2 on: January 27, 2017, 11:38:42 PM »

Hello
thank you for that but it works partial (icon is on top and text on bottom, please take a look at image).
Additional, is it possible to load and unload display in multiple lines dynamically, like in datagrid with nowrap?
Thank you.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #3 on: January 28, 2017, 05:59:54 AM »

Please look at this example http://code.reloado.com/abucaz/edit#preview
Logged
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« Reply #4 on: January 30, 2017, 01:25:49 AM »

It is just awesome.
Thank you for your support.
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!