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

Resize grid on browser resize.

1 Answer 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Yaron Lavi
Top achievements
Rank 1
Yaron Lavi asked on 08 Nov 2010, 09:05 AM
Hi,
I'm changing the scroll area height in the onGridCreated event as in the http://www.telerik.com/help/aspnet-ajax/grdchangescrollheightatruntime.html, it works fine.

I want to do the same thing when the user resizes the browser window. What's the easiest way to do it? Also, I'm using a pager. How can I know its height in run-time?

1 Answer, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 08 Nov 2010, 09:18 AM
Hello Yaron,

This sample project demonstrates how to configure RadGrid to occupy 100% height of its container (or the total browser window height) with scrolling and static headers enabled. Please give it a try and let me know if it helps.

All the best,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Yaron Lavi
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or