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

How to remove the border for radGridView?

1 Answer 451 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rosy
Top achievements
Rank 1
Rosy asked on 25 Oct 2012, 02:32 AM

Hi,
I am using radGridView with 2 level hierarchy with 
HierarchyChildTemplate. I don't want to show any column headers for the lowest level grid and I set ShowColumnHeaders to False. I  do not want to show that there's an inner grid at the first child level. How can I remove the space around the  radGridView? 

I do not have any margins, padding, border thickness properties. I tried removing the whole HierarchyChildTemplate
but still there is empty space. Can anyone please help where that space is coming. Please refer to attached pictures for clarity. Requirement is that the area marked with green should not appear.
Thanks,
Rosy



1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 25 Oct 2012, 10:39 AM
Hello Rosy,

To remove the margins of the hierarchy grid, you can edit the template of GridViewRow and set the Padding property of the Border holding the HierarchyChildPresenter

I hope this helps.

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Rosy
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or