EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Pierre on January 27, 2017, 02:21:57 AM



Title: [SOLVED] Treegrid nowrap
Post by: Pierre 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.


Title: Re: Treegrid nowrap
Post by: stworthy 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>


Title: Re: Treegrid nowrap
Post by: Pierre 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.


Title: Re: Treegrid nowrap
Post by: stworthy on January 28, 2017, 05:59:54 AM
Please look at this example http://code.reloado.com/abucaz/edit#preview


Title: Re: Treegrid nowrap
Post by: Pierre on January 30, 2017, 01:25:49 AM
It is just awesome.
Thank you for your support.