code: function (e) {
          var p       = this.paginator,
              sel     = this.select,
              options = p.get('rowsPerPageOptions'),
              opt,cfg,val,i,len;
  
          this.all = null;
  
          for (i = 0, len = options.length; i < len; ++i) {
              cfg = options[i];
              opt = sel.options[i] ||
                    sel.appendChild(document.createElement('option'));
              val = l.isValue(cfg.value) ? cfg.value : cfg;
              opt.innerHTML = l.isValue(cfg.text) ? cfg.text : cfg;
  
              if (l.isString(val) && val.toLowerCase() === 'all') {
                  this.all  = opt;
                  opt.value = p.get('totalRecords');
              } else{
                  opt.value = val;
              }
  
          }
  
          while (sel.options.length > options.length) {
              sel.removeChild(sel.firstChild);
          }
  
          this.update();
      }
docs: (Re)generate the select options.
  @method rebuild