You found a bug! We've classified it as EXTJS-8959 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    May 2010
    Posts
    2
    Vote Rating
    0
    Wixbit is on a distinguished road

      0  

    Default [4.2.0 RC] Rendered pagingtoolbar not updating if store already loaded

    [4.2.0 RC] Rendered pagingtoolbar not updating if store already loaded


    REQUIRED INFORMATION




    Ext version tested:
    • Ext 4.2.0 RC


    Browser versions tested against:
    • Chrome 25


    DOCTYPE tested against:
    • <!doctype html>


    Description:
    • Binding a loaded store to a rendered pagingtoolbar does not trigger an update of its information.


    Steps to reproduce the problem:
    • Run the test below.


    The result that was expected:
    • The bottom toolbar should display the same as the top toolbar (Page 1 of 1, Displaying 1-2 of 2).


    The result that occurs instead:
    • The bottom toolbar displays "No data to display".


    Test Case:


    Code:
    <!doctype html>
    <html>
    <head>
    <link rel="stylesheet" href="http://cdn.sencha.com/ext/beta/4.2.0.489/packages/ext-theme-gray/build/resources/ext-theme-gray-all.css">
    <script src="http://cdn.sencha.com/ext/beta/4.2.0.489/ext-all-dev.js"></script>
    <script>
    Ext.onReady(function() {
    	var store = Ext.create('Ext.data.Store', {
    		fields: ['test'],
    		data: [{test: 1}, {test: 2}]
    	});
    
    
    	var grid = Ext.create('Ext.grid.Panel', {
    		renderTo: Ext.getBody(),
    		columns: [{name: 'test', dataIndex: 'test'}],
    		hideHeaders: true,
    		store: store,
    		
    		tbar: {
    			xtype: 'pagingtoolbar',
    			displayInfo: true,
    			store: store
    		},
    		
    		bbar: {
    			xtype: 'pagingtoolbar',
    			displayInfo: true
    		}
    	});
    	
    	grid.down('pagingtoolbar[dock=bottom]').bindStore(store);
    });
    </script>
    <body></body>
    </html>

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    828
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

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