This is a migrated thread and some comments may be shown as answers.
radgrid hierarchy AllowColumnResize="true"
1 Answer 16 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
JJ asked on 29 Jan 2013, 05:08 PM
I have a 3 layer multi grid, on the firest layer of the grid, I have a dropdown tempaltes, click one of the item on the dropdown, will open a radwindow. The grid set





I set the each layer of the grid view with with Width="98%"
when I use AllowColumnResize="true" and UseStaticHeaders="true", and when all the grid level are expand,  everytime when I  below code to open pop up radwindow, the grid colum won't fit the winow well, instead it bumps to the left side for the second and third level of the grid. see attachment. It looks like AllowColumnResize="true"  and UseStaticHeaders="true" won't work for hierarchy grid. also, if try to resize (expand)the seocnd or third level of the grid, the grid will go out of the window width.



StringBuilder sbShowwndProcHist = new StringBuilder();




"radopen(null, 'wndProcHist');");




ScriptManager.RegisterStartupScript(this, GetType(), "ViewwndProcHistKey", sbShowwndProcHist.ToString(), true);


<ClientSettings EnableRowHoverStyle="true" AllowColumnsReorder="true" ColumnsReorderMethod="Reorder"
                      <Scrolling AllowScroll="true" ScrollHeight="" UseStaticHeaders="true" />
                       <Resizing AllowColumnResize="true" EnableRealTimeResize="true"  AllowResizeToFit="true"                 

Please help!

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 01 Feb 2013, 06:29 PM
Hello JJ,

I suggest that you try setting MasterTableView Width to 100% instead of setting grid width. Also set TableLayout property of MasterTableView and GridTableView to Fixed.

Additionally, note that scrolling with static headers is not applicable for detail tables. however, if you want to have separate scrolls to each table in grid hierarchy you can use the approach presented in the following code library:

the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question