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

Resize column after allow scroll

1 Answer 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
BRIAN
Top achievements
Rank 1
BRIAN asked on 21 Oct 2008, 04:13 PM
Hi everybody !

I have got a problem with my rad grid :

I have 15 columns and my screen resolution allow me to see just 7 columns, after what i can use the automatic windows's scroll for see the others. My contener have at this instant a certain width...

When i allow a scroll of my grid, with a width for it, i have effectively the scroll in my grid, but the width of the contener is always the same ! So i have a big white at the right of my grid ! And the windows's scroll is of course here too !

Have you some idea about this strange ?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 21 Oct 2008, 04:45 PM
Hi Brian,

I am not sure I understand you very well, so if you upload a screenshot somewhere, it will be great.

If the RadGrid container has a fixed width, then it will maintain this width, no matter how wide is the RadGrid inside. If you want the container to be not that wide, please reduce the width or remove it completely - in this case the width will be "auto" if the container is a <table>, or "100%" if the container is a <div> (asp:panel)

Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
BRIAN
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or