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

ChildTable * widths

4 Answers 69 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Heiko Görig
Top achievements
Rank 1
Heiko Görig asked on 05 May 2010, 11:40 AM
Hi,
If I set the width of a column in a child table (e.g. in the Custom Hierarchy Template sample) to "*", the column isn't sized properly. It's width is more than the screen width and scrolling also doesn't work properly.

4 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 05 May 2010, 02:41 PM
Hello Heiko,

The problem comes from the fact that the child grid is measured with infinite width. When you have a column with star size and its grid measured with infinite width there is no way for us to measure and arrange the cells for this column correctly. In order for your scenario to work correctly you have to either not have any star column or set Width of the child grid to some value.

Greetings,
Stefan Dobrev
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
Heiko Görig
Top achievements
Rank 1
answered on 05 May 2010, 05:09 PM
Wouldn't it possible to introduce a new property which could control if the width given to the child grid is infinite or only the width of the parent grid?
0
Stefan Dobrev
Telerik team
answered on 10 May 2010, 03:38 PM
Hello Heiko,

This is one approach we can take. Ultimately RadGridView should handle this scenario out of the box and be able to size the child grid correctly. However implementing this will require re-implementation of our UI virtualization, which is not a trivial task. This is definitely a scenario we want to address in the future - in post Q2 2010 timeframe.

Kind regards,
Stefan Dobrev
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
Vit100
Top achievements
Rank 1
answered on 25 Feb 2011, 06:22 PM
Why would not you set widht of child = widht of parent by default.
Then if parent is drawn properly within container with * width, then child table will be OK too... 
Tags
GridView
Asked by
Heiko Görig
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Heiko Görig
Top achievements
Rank 1
Vit100
Top achievements
Rank 1
Share this question
or