Reduce width of children in hierarchy grid

3 posts, 1 answers
  1. Chris
    Chris avatar
    13 posts
    Member since:
    Dec 2011

    Posted 09 Aug 2017 Link to this post

    Hello,

    I have a grid similar to http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarative-relations/defaultcs.aspx.  In my grid I have around 20 columns in the parent and only a few in the child.  I'm using locked columns so there is a horizontal scroll bar to view all the data.  The few items in the child grid get spread across the entire length of the parent grid which makes it extremely hard to read since you have to scroll all the way across the grid just to read a few columns.

    Is there some way to reduce the size of the child grid so it doesn't span across the entirety of the parent grid?

    Thanks

  2. Answer
    Eyup
    Admin
    Eyup avatar
    3824 posts

    Posted 14 Aug 2017 Link to this post

    Hi Chris,

    You can try setting the Width of the inner table explicitly to achieve this requirement:
    <telerik:GridTableView Width="800px">

    Regards,
    Eyup
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Chris
    Chris avatar
    13 posts
    Member since:
    Dec 2011

    Posted 15 Aug 2017 in reply to Eyup Link to this post

    Thanks Eyup, this works well.
Back to Top