title: ExtJs Pagingtoolbar display error
body: <p>I have some problems with my pagingtoolbar in ExtJS</p>
  
  <p>When the grid and the pagingtoolbar is loaded for the first time, the pagingtoolbar shows "page 1 of 1". After refreh it shows the full page count like "1 of 100"</p>
  
  <p>My Store is defined like this:</p>
  
  <pre><code>Ext.define('AM.qat.store.Employee',{
      extend: 'AM.qat.data.Store',
      requires: ['Ext.data.proxy.Direct'],
      model: 'AM.qat.model.Employee',
  
      remoteGroup: true,
  
      autoLoad: true,
      pageSize: 25,
      autoSync: true
  
      constructor: function(config) {
          config = Ext.apply({}, config);
          if (!config.proxy) {
              var proxy = {
                  type: 'direct',
                  reader: {
                      idProperty: 'Id',
                      rootProperty: 'data',
                      type: 'json',
                  },
                  writer: {
                      allowSingle: true,
                      writeAllFields: true // Note: Changed in ExtJS 5 to be default false
                  },
                  api: {
                      read: AM.qat.Employee.List,
                      create: AM.qat.Employee.Create,
                      update: AM.qat.Employee.Update,
                      destroy: AM.qat.Employee.Delete
                  }
              };
              config.proxy = proxy;
          }
  
          this.callParent([config]);
          this.proxy.on('exception', this.onProxyException, this);
      }
  });
  </code></pre>
  
  <p>The pagingtoolbar is docked under the grid and uses the same store as the grid</p>
  
  <pre><code>    me.dockedItems = [
                  {
                      xtype: 'pagingtoolbar',
                      dock: 'bottom',
                      store: me.store,
                      width: 360,
                      displayInfo: true
                  }
  ]
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/w23P7.png" alt="enter image description here"></p>
  
  <p>Thanks!</p>