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

[Solved] column width is changing

5 Answers 156 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ibrahim
Top achievements
Rank 1
ibrahim asked on 24 May 2009, 10:39 AM
hey all i dont know the cause of my problem but whenever i run my project then my grid apears it apears in the full screen as i wanted ibut the columns start very small and suddenly get larger in order to fit..i have all my widthes in percenteges of the total width  what can cause this issue?? thanks in advance guys

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 25 May 2009, 04:48 AM
HI Ibrahim,

I am not sure what is happening on your end. But you may try setting the TableLayout to Fixed and see whether it helps. If not try sending your aspx code.

ASPX:
 
<MasterTableView  Width="100%" TableLayout="Fixed" Name="Master"  > 
             

Shinu
0
ibrahim
Top achievements
Rank 1
answered on 25 May 2009, 06:06 AM
it is fixed..and yet everytime my page loads at the first instanse the columns will be very small and then they will take thier full width
0
Dimo
Telerik team
answered on 26 May 2009, 08:37 AM
Hello Ibrahim,

In case your RadGrid is placed inside a RadSplitter pane with a non-fixed width, the observed behavior is expected.

You can set VisibleDuringInit="false" to the RadSplitter, so that the content shows after it has been resized.

Best wishes,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
ibrahim
Top achievements
Rank 1
answered on 26 May 2009, 08:42 AM
wel thank you dimo for youre response...i did have in a rad spliter and it fixed it..but in my radgrid i had borders betweed the columns and rows and when i did set the visibleoninit="true" the borders disappeared :S
0
Dimo
Telerik team
answered on 26 May 2009, 09:02 AM
Hi Ibrahim,

I am not aware of such a problem and I can't seem to reproduce it. Please provide a simple runnable example and we will research further.

Best wishes,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
ibrahim
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
ibrahim
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or