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

Vertical space between items

1 Answer 49 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Felice
Top achievements
Rank 1
Felice asked on 17 Jan 2015, 03:19 PM
Is it possible to get some vertical space between items?
Ideal for me would be to have 15px between root times and 10 px between root items and child items.
Some direction on this would be appreciated.
Thanks

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 21 Jan 2015, 11:25 AM
Hi Felice,

You could assign a class name to each item within the server-side OnPreRender or OnItemDataBound event of the RadTreeList for example depending on its hierarchical level and customize the look for those items by overriding the styles with CSS.

You can also take a look at the following help article and online demo for customizing the appearance of the RadTreeList control:
Hope this helps.


Regards,
Konstantin Dikov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TreeList
Asked by
Felice
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or