X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=blobdiff_plain;f=Open-ILS%2Fsrc%2Feg2%2Fsrc%2Fapp%2Fshare%2Fgrid%2Fgrid.component.ts;h=e1f988ff9f6072a34e73c617c7c34451b9e2eb43;hp=25b8d0d2cbb5ac521005b9e280f0e83dd678e7a5;hb=6e14b5a7622d2b1ebe3541404a02f8cc2aa9a755;hpb=4bea10e45c6b1eeea1e42d08a1534a6f199458b8 diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid.component.ts b/Open-ILS/src/eg2/src/app/share/grid/grid.component.ts index 25b8d0d..e1f988f 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid.component.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid.component.ts @@ -96,6 +96,8 @@ export class GridComponent implements OnInit, AfterViewInit, OnDestroy { // field on the "aout" class. @Input() showLinkSelectors: boolean; + @Input() disablePaging: boolean; + context: GridContext; // These events are emitted from our grid-body component. @@ -132,6 +134,7 @@ export class GridComponent implements OnInit, AfterViewInit, OnDestroy { this.context.disableMultiSelect = this.disableMultiSelect === true; this.context.rowFlairIsEnabled = this.rowFlairIsEnabled === true; this.context.rowFlairCallback = this.rowFlairCallback; + this.context.disablePaging = this.disablePaging === true; if (this.showFields) { this.context.defaultVisibleFields = this.showFields.split(','); }