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

Set the Height of Child Grid

1 Answer 76 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Lee
Top achievements
Rank 1
Lee asked on 14 Mar 2010, 12:40 PM
How system decides the height of the Child Grid ?  When there are no child records the grid height seems to be quite small .
I want set the height of child grid to a fixed size.  How can i do that ?

Regards
Lee.

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 18 Mar 2010, 09:28 AM
Hello Lee,

Thank you for the question.

You can use ChildViewExpanded event to set the child view height manually:
void radGridView1_ChildViewExpanded(object sender, Telerik.WinControls.UI.ChildViewExpandedEventArgs e)
{
    e.ChildRow.Height = 200;
}

Do not hesitate to contact me again if you have any other questions.

Regards,
Martin Vasilev
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.
Tags
GridView
Asked by
Lee
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or