ME
Meena
Syncfusion Team
February 16, 2012 11:23 AM UTC
Hi Ruben,
Thanks for using Syncfusion products.
Your requirement of displaying the child nodes of treeview in two or more lines could be achieved by setting the “white-space” css property as normal for the corresponding css class. Please refer the below code snippet,
[Css]
.tvView .tvTextCont
{
font-size: 17px !important;
white-space : normal !important;
word-spacing:15px;
}
In the above coding we have set the font size of child nodes to larger, white-space property is used to break the line and displays the text in two lines.
We have also created a simple sample with this and it can be downloaded from the below link.
TreeView.zip
Please let us know if you have any other concerns.
Regards,
Meena
ME
Meena
Syncfusion Team
February 20, 2012 07:25 AM UTC
Hi Ruben
Thanks for the update.
We are glad to know that your requirement has been met. Please let us know if you have any other concerns.
Regards,
Meena