1. #1
    Ext User
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    narenbimal is on a distinguished road

      0  

    Question problem with grid rendering and scrollbar

    problem with grid rendering and scrollbar


    got a problem with grid.

    When I add tbar and bbar to grid, then vertical scrollbar is going below the page. It is because viewport is not recalculated after I add tbar and bbar, so viewport of the grid is well below the bbar.



    How to adjust the grid viewport even after I add tbar and bbar?

    Thanks in advance for helping.

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    So you're adding tbar and bbar after the component is rendered?! why?

    What type of layout are you using for the grid's parent container?

  3. #3
    Ext User
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    narenbimal is on a distinguished road

      0  

    Default


    Hello Jesus,

    Thanks for replying..

    I am using this code to generate that grid.

    Code:
       var grid = new Ext.grid.GridPanel({
    	store: ds,
    	layout:'anchor',
    	loadMask: lm,
        height: 435,
    	sm: new Ext.grid.RowSelectionModel({
                    singleSelect: false
                }),
    	plugins: [editor 
    			  ],
    	
    	cm: new Ext.grid.DynamicColumnModel(ds),
    	
        viewConfig: {
                forceFit: true
    			
            },
    		
    	sortInfo:false,
    	sortable:false,
    	frame: true,
    	columnLines: true,
    	stripeRows: true,
    	title: 'Release Dashboard',
    	collapsible: true,
    	
    	tbar: [{
            text: 'Add',
            iconCls: 'icon-user-add',
            handler: onAdd,
    		hidden: eval(tbarAdd)
    	  	},
    			{xtype: 'tbfill'},
    			{
                text: 'CSR Reports',
                iconCls: 'icon-user-add',
                handler: csrReport
    			
    		   }],
    	bbar: new Ext.PagingToolbar({
    		pageSize: 50,
    		store: ds,
    		displayInfo: true,
    		displayMsg: 'Displaying Release {0} - {1} of {2}',
    		emptyMsg: 'No Releases to display'		
    	})
    });

    What changes should I make to effect the changes.

Similar Threads

  1. Scrollbar problem in grid
    By Nithya in forum Ext 3.x: Help & Discussion
    Replies: 10
    Last Post: 4 Dec 2009, 4:21 AM
  2. Problem rendering scrollbar in treepanel
    By Nithya in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 24 Nov 2009, 10:41 PM
  3. Problem with Grid and Scrollbar
    By jippeh in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 15 Dec 2008, 5:20 AM
  4. Scrollbar problem with Grid in LayoutDialog
    By para in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 8 Oct 2007, 1:01 PM

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi