Grid Resize with scroll bar

3 posts, 0 answers
  1. senthil
    senthil avatar
    23 posts
    Member since:
    Dec 2008

    Posted 06 Apr 2009 Link to this post

    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,
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Apr 2009 Link to this post

    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

  3. Polaris431
    Polaris431 avatar
    30 posts
    Member since:
    Jul 2007

    Posted 05 Aug 2009 Link to this post

    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.
Back to Top