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

How do reduce the gap between parent and child grid in Hierarchy gridview

2 Answers 30 Views
GridView
This is a migrated thread and some comments may be shown as answers.
shiras abdulrahman
Top achievements
Rank 1
shiras abdulrahman asked on 06 Apr 2011, 11:44 AM
Hi,

How do reduce the gap between parent and child grid in Hierarchy gridview. I have attached the screen shot for further reference.

Thanks,
Shiras

2 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 06 Apr 2011, 12:00 PM
Hi Shiras,

 

You need to edit the template of a GridViewRow and access the Border element surrounding the HierarchyChildPresenter, responsible for displaying the hierachy children. Just remove the default Padding property set to this Border and the space will disappear.



You may find attached sample project that demonstrates this approach.


Regards,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
shiras abdulrahman
Top achievements
Rank 1
answered on 07 Apr 2011, 05:54 PM
I am using telerik version 2010.1.422.1030.I request you to please send me information on how to do it in this version.

Thanks,
Shiras
Tags
GridView
Asked by
shiras abdulrahman
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
shiras abdulrahman
Top achievements
Rank 1
Share this question
or