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

RadtreeList cellspacing

5 Answers 86 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 31 Aug 2012, 04:59 PM
Is there a way to change the vertical spacing between cells? 

5 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 03 Sep 2012, 06:03 AM
Hi Brian,

I suppose you want to remove the top and bottom padding of the cells in the RadTreeList. Try overriding the default CSS as follows.

CSS:
<style type="text/css">
    .RadTreeList .rtlHBorders .rtlR > td
    {
        padding-top:0px !important;
        padding-bottom:0px !important;
    }
</style>

Hope this helps.

Regards,
Princy.
0
Brian
Top achievements
Rank 1
answered on 04 Sep 2012, 09:37 PM
that didn't change it, i tried on the page as well in my CSS file.

0
Pavlina
Telerik team
answered on 07 Sep 2012, 02:22 PM
Hi,

I tried the code snippet below to remove the top and bottom paddings and it is working for me.
div.RadTreeList .rtlHBorders .rtlR > td,
div.RadTreeList .rtlHBorders .rtlA > td
        {
            padding-top: 0px;
            padding-bottom: 0px;
        }

Give it a try and let me know if you still can not achieve the desired functionality.

Regards,
Pavlina
the Telerik team
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 their blog feed now.
0
Brian
Top achievements
Rank 1
answered on 10 Sep 2012, 07:41 PM
How exactly do I implement this? right now I am simply pasting it into my css file. I also tried adding it on the page with the <style> tags

neither is changing it. 
0
Pavlina
Telerik team
answered on 13 Sep 2012, 01:42 PM
Hi,

Can you send us a live URL of your project, so we can inspect it locally and see why the provided code is not working for you?

Regards,
Pavlina
the Telerik team
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 their blog feed now.
Tags
TreeList
Asked by
Brian
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Brian
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or