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

[Solved] Column Disappears When Window Is Too Small But Vertical Space is Reserved

1 Answer 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 28 Mar 2013, 08:32 PM
I have a RadGrid with widths set for all of the headers except one.  The TableLayout is set to auto.  When there is enough room, the column without a width fills the remaining space, as intended.  If there is not enough room, the column disappears, but the rows are still sized as if the column was there and the content was wrapping.  I would prefer to show the auto-sizing column in all cases and have some kind of minimum size for it.  If that is not possible, I would at least like the column to completely disappear and not reserve vertical space for its content.  Is either of these things possible?

I have attached images showing this behavior.  In "column shown", you can see the Viol Description column, which auto-sizes.  In "column hidden", I have resized the window and you can no longer see the Viol Description column, but the grid rows are much taller and there is no content in view that requires that height.

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 02 Apr 2013, 11:50 AM
Hello Brian,

I would suggest you to review the following forum thread where is described a solution to your scenario.

Greetings,
Kostadin
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.
Tags
Grid
Asked by
Brian
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or