diff --git a/src/case/pager/pager.all.count.js b/src/case/pager/pager.all.count.js index 859404904..504fd8411 100644 --- a/src/case/pager/pager.all.count.js +++ b/src/case/pager/pager.all.count.js @@ -134,6 +134,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, { type: "bi.left", height: o.height, scrollable: false, + ref: function (_ref) { + self.rowCountObject = _ref; + }, items: [{ type: "bi.label", height: o.height, @@ -209,6 +212,10 @@ BI.AllCountPager = BI.inherit(BI.Widget, { this.pager.setVisible(b); }, + setRowCountVisible: function (b) { + this.rowCountObject.setVisible(b); + }, + populate: function () { this.pager.populate(); this.setPagerVisible(this.options.pages > 1); diff --git a/typescript/case/pager/pager.all.count.ts b/typescript/case/pager/pager.all.count.ts index 1e772cd50..77b7e43f7 100644 --- a/typescript/case/pager/pager.all.count.ts +++ b/typescript/case/pager/pager.all.count.ts @@ -22,5 +22,7 @@ export declare class AllCountPager extends Widget { setPagerVisible(v: boolean): void; + setRowCountVisible(v: boolean): void; + populate(): void; }