This is a migrated thread and some comments may be shown as answers.
Reduce width of children in hierarchy grid
2 Answers 6 Views
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 09 Aug 2017, 12:28 PM

Hello,

I have a grid similar to http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarative-relations/defaultcs.aspx.  In my 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 Answers, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 14 Aug 2017, 11:04 AM
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.
0
Chris
Top achievements
Rank 1
answered on 16 Aug 2017, 02:39 AM
Eyup, this works well.
Tags
Grid
Asked by
Chris
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Chris
Top achievements
Rank 1
Share this question
or