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

[Solved] Allowing grids to resize with browser window

1 Answer 101 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 09 Dec 2009, 03:08 PM
Hey everyone,
I am currently struggling with getting my grids to resize as a user expands and contracts their browser window. Here's my current situation:
1. For each page I reference a nested master page (each of the 2 master pages has all containers set to 100% for height and width)
2. Some pages only have grids where I set the <MasterTableView> dimensions to 100% instead of the actual RadGrid dimensions.
3. Some pages require RadSplitters with a Tree on the left and Grid on the right.

Summary:
Basically I have figured out how to get the grid to expand in height but the header row grows with the other rows. Ideally I would be able to continue to show grid rows instead of just making the existing ones larger.

Also, my master pages use tables as containers and with my limited CSS experience I was wondering if I shouldn't be and instead use some other method?

I am not sure if this is even worth it at this point. I have not seen one example of a grid doing this outside of a splitterbar. (I found that example)

Any assistance would be greatly appreciated.
J.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 09 Dec 2009, 05:03 PM
Hello Jason,

Please refer to the forum thread bellow, which elaborates on this subject, for more information about how to achieve your goal:
Resizing the grid to its container on browser resize

Let me know if this helps.

All the best,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Jay
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or