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

disable header in radgrid's heirarchy

2 Answers 13 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Anjali
Top achievements
Rank 1
Anjali asked on 16 Jul 2012, 06:57 AM
Hi,

I have bind the radgrid with its datasource as a dataset.This dataset contains four tables and relations are also specified in it.So a heirachy is being created in grid,now I want to remove the headers of all the grids in heirarchy but want to keep the header of main Parent grid at top only .

Can you please help?

Thanks in Advance..

Anjali Bansal

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 16 Jul 2012, 07:51 AM
Hello Anijali,

 

You may handle the DataLoading event of the parent grid and once you have access to the child table definitions just set the ShowColumnHeaders property to false to achieve your goal. 
In our online documentation you may find more info on that topic, following this link.



Kind regards,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Anjali
Top achievements
Rank 1
answered on 16 Jul 2012, 09:10 AM
Great post!! Thanks Alot, It worked . . .
Tags
GridView
Asked by
Anjali
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Anjali
Top achievements
Rank 1
Share this question
or