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

RadGrid colums fixed size at page resize

3 Answers 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jean-Marc
Top achievements
Rank 1
Jean-Marc asked on 26 Jul 2012, 04:35 PM
Hi,
My problem is when I resize the page where I placed my radgrid control : I have 9 colums and I want that some of them are at fixed size while others can resize.
I fixed the sizes of the columns I want at fixed size and also I set Resizable="False" for the column width and HeaderStyle-Wrap="False" ItemStyle-Width="30px"  and also HeaderStyle Width="30px".
Under MasterTableView properties I tried with TableLayout="Auto" and also  TableLayout="Fixed" with  the same results

In The colums that can resize I didn' t set the same properties, but the behaviour doesn' t change : All the colums resizes when I resize the page.

My goal is that the colums at fixed size don't get wider, while the others can resize

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 31 Jul 2012, 02:17 PM
Hello,

Keep in mind that it is not recommended to use ItemStyle.Width for settiing column widths. Only HeaderStyle.Width should be used. Therefore, I suggest you remove ItemStyle.Width from your code and let us know if it makes any difference.

Kind regards,
Pavlina
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.
0
Jean-Marc
Top achievements
Rank 1
answered on 31 Jul 2012, 03:33 PM
Apparently there is not difference. I Deleted the item.style width and all the columns resize when I resize the page.
0
Pavlina
Telerik team
answered on 03 Aug 2012, 02:32 PM
Hi,

Can you send us a live URL where the described behaviour can be observed? We will examine it locally and will get back to you with additional information.

Greetings,
Pavlina
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
Jean-Marc
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Jean-Marc
Top achievements
Rank 1
Share this question
or