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

Grid Resize with scroll bar

2 Answers 142 Views
Grid
This is a migrated thread and some comments may be shown as answers.
senthil
Top achievements
Rank 1
senthil asked on 06 Apr 2009, 01:41 PM

Hi Friends,
I am using telerik grid latest version. I have an issue of grid resize.I used grid.repaint() method in grid created function(),It works fine for height resize.But not able to set the width resize. So please give some idea for how to complete this. Whether this is issue in telerik grid or in my page.

I used the following coding please review and give ideas to complete.
function GridCreated()    
        {
            $get("<%= rdgWatchlist.ClientID %>").style.height = document.documentElement.clientHeight - 275 + "px";
            $get("<%= rdgWatchlist.ClientID %>").style.width = document.documentElement.clientWidth - 200 + "px";
            $find("<%= rdgWatchlist.ClientID %>").repaint();
}
also for height there is white space also there.This also issue.Please give some idea .Urgently

Thanks and regards,
SenthilKumar.T

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 07 Apr 2009, 05:11 AM
Hi Senthil,

Here is a code library submission which demonstrates how to configure r.a.d.grid to occupy 100% height of its container (or the total browser window height) with scrolling and static headers enabled. Go through it and see if it helps to some extent.
Setting 100% height and resize on container resize for grid with scrolling and static headers

Shinu.
0
Polaris431
Top achievements
Rank 1
answered on 05 Aug 2009, 04:01 PM
The posting you are referring to is really out-dated. The last post says to refer to RadGrid5xWithAutoResize . Can you please update that post and point us to the correct documentation and/or URL that shows us how to resize the grid in any container whenever the browser is resized. I've spent over an hour reading posts and trying this and that with no success.
Tags
Grid
Asked by
senthil
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Polaris431
Top achievements
Rank 1
Share this question
or