|
|
@ -134,6 +134,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, { |
|
|
|
type: "bi.left", |
|
|
|
type: "bi.left", |
|
|
|
height: o.height, |
|
|
|
height: o.height, |
|
|
|
scrollable: false, |
|
|
|
scrollable: false, |
|
|
|
|
|
|
|
ref: function (_ref) { |
|
|
|
|
|
|
|
self.rowCountObject = _ref; |
|
|
|
|
|
|
|
}, |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
type: "bi.label", |
|
|
|
type: "bi.label", |
|
|
|
height: o.height, |
|
|
|
height: o.height, |
|
|
@ -209,6 +212,10 @@ BI.AllCountPager = BI.inherit(BI.Widget, { |
|
|
|
this.pager.setVisible(b); |
|
|
|
this.pager.setVisible(b); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setRowCountVisible: function (b) { |
|
|
|
|
|
|
|
this.rowCountObject.setVisible(b); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
populate: function () { |
|
|
|
populate: function () { |
|
|
|
this.pager.populate(); |
|
|
|
this.pager.populate(); |
|
|
|
this.setPagerVisible(this.options.pages > 1); |
|
|
|
this.setPagerVisible(this.options.pages > 1); |
|
|
|