-
4 Mar 2013 3:31 AM #1
[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>
-
4 Mar 2013 8:03 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,599
- Vote Rating
- 434
Thanks for the report! I have opened a bug in our bug tracker.
You found a bug! We've classified it as
EXTJSIV-8959
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote