GridPanel horizontal width problem

  1. #1

    GridPanel horizontal width problem

    Hi there,

    I have got a FitLayout problem. Gridpanel width not 100%.
    I setted AnchorHorizontal and FitLayout. But its not shown 100%
    Why AnchorHorizontal setting is not working?

    <ext:ResourceManager ID="ResourceManager1" runat="server" Theme="Gray" Locale="tr-TR"
    		GZip="true" />
    	<ext:Viewport ID="Viewport1" runat="server" Layout="FitLayout" StyleSpec="background-color:#F0F0F0">
    		<Items>
    			<ext:Window ID="Window1" runat="server" Maximized="true" Title="Etiketler" Layout="FitLayout"
    				Icon="NewspaperLink" Closable="false" Minimizable="false" MinHeight="480" MinWidth="640">
    				<Items>
    					<ext:GridPanel ID="GridPanel1" runat="server" ColumnLines="true" AutoExpandColumn="aciklama"
    						OnBeforeClientInit="GridPanelYuklenmedenOnce" TrackMouseOver="true" AnchorHorizontal="100%">
    Thanks for yours help.
    Attached Thumbnails Click image for larger version. 

Name:	GridPanel.jpg 
Views:	117 
Size:	48.1 KB 
ID:	3779  
  2. #2
    Hi,

    AnchorHorizontal affects in a FormLayout context only.

    I think you should inverse GridPanel's AutoExpandMax. By default it's 1000.
    http://docs.sencha.com/ext-js/3-4/#!...-autoExpandMax

    Setting it up to, for example, 2000 should solve the problem.
  3. #3
    Thanks for your replies. I will try your solutions.

Similar Threads

  1. Replies: 1
    Last Post: Jun 11, 2012, 11:59 AM
  2. [CLOSED] problem with GridPanel width in IE9
    By iansriley in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 23, 2011, 11:38 PM
  3. [CLOSED] gridpanel height and width problem
    By majestic in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 04, 2010, 4:54 PM
  4. Replies: 6
    Last Post: Jun 11, 2010, 12:47 PM
  5. Replies: 4
    Last Post: Aug 04, 2009, 11:37 AM

Tags for this Thread

Posting Permissions