ChildTable * widths

5 posts, 0 answers
  1. Heiko Görig
    Heiko Görig avatar
    23 posts
    Member since:
    Jun 2012

    Posted 05 May 2010 Link to this post

    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.
  2. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 05 May 2010 Link to this post

    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.
  3. DevCraft banner
  4. Heiko Görig
    Heiko Görig avatar
    23 posts
    Member since:
    Jun 2012

    Posted 05 May 2010 Link to this post

    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?
  5. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 10 May 2010 Link to this post

    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.
  6. Vit100
    Vit100 avatar
    66 posts
    Member since:
    Oct 2012

    Posted 25 Feb 2011 Link to this post

    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... 
Back to Top
DevCraft banner