This is a migrated thread and some comments may be shown as answers.

How to wrap text when using tree view?

1 Answer 733 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Barani
Top achievements
Rank 1
Barani asked on 14 Dec 2012, 01:32 AM
Hi,

I am using kendo tabstrip to display kendo tree view component.

I have populated kendo tree view by using hierarchical JSON structure, some of the nodes are too long to display it inside the tab hence I need to wrap the node text. Is there a way to wrap node text?

Thanks,
Barani

1 Answer, 1 is accepted

Sort by
1
Petur Subev
Telerik team
answered on 17 Dec 2012, 01:47 PM
Hello Barani,

Wrapping the text is not supported. Consider adding custom CSS rule to the page which could to the proper formatting.
e.g.
#yourTreeViewName .k-in{
     white-space:"normal";
     width:50px;
}


Kind regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TreeView
Asked by
Barani
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or