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

Grid width problem

4 Answers 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sushant
Top achievements
Rank 1
sushant asked on 14 Nov 2008, 09:09 AM
Hi All,

I have a grid and I have set UseStaticHeaders="True" now my problem is my grid does not take 100% width some space remains blank

but when I make UseStaticHeaders="false " its take 100% widht I utilises all the space of grid.Please help me out


Thanx in advance




Regards,

Sushant Tanawade

4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 14 Nov 2008, 09:32 AM
Hello Sushant,

The observed behavior is expected and is caused by the fact that the default table layout of the MasterTableView is "Auto". You have two alternative options:

1) Set TableLayout="Fixed" to the MasterTableView

2) Set Width to the MasterTableView


Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
sushant
Top achievements
Rank 1
answered on 14 Nov 2008, 10:38 AM
Hello Dimo,

Thanx for the reply,but I am showing data from more that one table and I am building grid dynamically depending on the selection of the table so my grid width is changing accordingly,when I set TableLayout="Fixed" to the MasterTableView columns merges to each other,Please tell me the solution if it is possible using javascript
0
Dimo
Telerik team
answered on 14 Nov 2008, 10:50 AM
Hello Sushant,

Can you please show us a screenshot, which demonstrates the following problem, so that I am sure I have understood you correctly and we are talking about the same thing.

"I have a grid and I have set UseStaticHeaders="True" now my problem is my grid does not take 100% width some space remains blank"

I want to see which is the blank space you are talking about. Is it a small rectangle at the top-right corner of RadGrid, just above the control's vertical scrollbar? Or is it a blank space as high as the MasterTableView.

Also, please specify which RadGrid version you are using.


Best wishes,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
sushant
Top achievements
Rank 1
answered on 14 Nov 2008, 11:20 AM
Hello Dimo,

i am using version 2008.2.723.35 and  blank space as high as the MasterTableView.My problem is columns  are not streched to the grid width,I can't send u screen shot as there is no option to aatched document in this editor




 

Tags
Grid
Asked by
sushant
Top achievements
Rank 1
Answers by
Dimo
Telerik team
sushant
Top achievements
Rank 1
Share this question
or