[CLOSED] Blank space at the end of gridpanel

  1. #1

    [CLOSED] Blank space at the end of gridpanel

    Hello,

    Is there a way to make the gridpanel adjust its size, not leaving a space at the end grid?

    I am attaching a picture to explain this better.

    Thanks
    Attached Thumbnails Click image for larger version. 

Name:	blank space.jpg 
Views:	92 
Size:	9.0 KB 
ID:	2314  
    Last edited by geoffrey.mcgill; Feb 15, 2011 at 7:16 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please set AutoFIll="true" for GridView.

    Example
    <ext:GridView runat="server" AutoFill="true" />
  3. #3
    Nice!

    That solved a part of it. But I was talking about shirking the empty space, not filling. Is that possible using autowidth?

    Thanks for the quick replay!
  4. #4
    I see
    /**
         * @cfg {Boolean} autoWidth
         * @hide
         */
    in GridPanel's source.

    It means that GridPanel doesn't support autoWidth. Unfortunately.
  5. #5
    Thanks :(

    Please, mark as solved.
  6. #6
    Hi,

    You can always set the .Width of the GridPanel if you want to tighten it up a bit. Or, use .setWidth() function on the client.

    Hope this helps.
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Set a GridPanel to Fit a Panels Space
    By sisa in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: May 25, 2012, 3:31 PM
  2. [CLOSED] Auto GridPanel Height To Fill Available Space
    By dmoore in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 08, 2012, 8:03 AM
  3. [CLOSED] blank space as thousand separator
    By RomualdAwessou in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 19, 2011, 8:04 PM
  4. [CLOSED] "Blank" gridpanel column until edited...then blank again!
    By dmoore in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 24, 2011, 5:11 PM
  5. [CLOSED] Can I hide the scroll bar space on gridpanel
    By SFritsche in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 31, 2010, 8:45 PM

Posting Permissions