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

node text and consecutive spaces

3 Answers 40 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 27 Nov 2013, 01:15 PM
Is it not possible to have multiple spaces in between words when calling set_text()?

3 Answers, 1 is accepted

Sort by
0
Accepted
Kate
Telerik team
answered on 02 Dec 2013, 12:13 PM
Hello Mike,

You can easily preserve the space as they appear in the string that you set with the set_text() property by using the following css class selector:
div.RadTreeView .rtIn {
white-space: pre;
}

Regards,
Kate
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Mike
Top achievements
Rank 1
answered on 02 Dec 2013, 12:20 PM
Thank you for the reply.  If this is documented I certainly missed it.  This should be an exposed option to the developer.
0
Kate
Telerik team
answered on 05 Dec 2013, 09:08 AM
Hello Mike,

Thank you for your feedback. We will indeed consider it and possibly include it in our documentation of the RadTreeView control.

Regards,
Kate
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
TreeView
Asked by
Mike
Top achievements
Rank 1
Answers by
Kate
Telerik team
Mike
Top achievements
Rank 1
Share this question
or