|
1 | 1 | <ng-content select="igx-grid-toolbar"></ng-content>
|
2 | 2 |
|
3 | 3 | <div class="igx-grid__thead" role="rowgroup">
|
4 |
| - <div class="igx-grid__thead-wrapper" (keydown.meta.c)="copyHandler($event)" (keydown.control.c)="copyHandler($event)" |
5 |
| - (copy)="copyHandler($event)" [style.width.px]='calcWidth' tabindex="0" (focus)="navigation.focusFirstCell()" |
| 4 | + <div class="igx-grid__thead-wrapper" (keydown.meta.c)="copyHandler($event)" (keydown.control.c)="copyHandler($event)" |
| 5 | + (copy)="copyHandler($event)" [style.width.px]='calcWidth' tabindex="0" (focus)="navigation.focusFirstCell()" |
6 | 6 | (keydown)="navigation.headerNavigation($event)" #theadRow [attr.aria-activedescendant]="activeDescendant">
|
7 | 7 | <div class="igx-grid__tr" [style.width.px]='calcWidth' role="row">
|
8 | 8 | <span *ngIf="hasMovableColumns && draggedColumn && pinnedColumns.length <= 0"
|
|
65 | 65 | </div>
|
66 | 66 |
|
67 | 67 | <div igxGridBody (keydown.control.c)="copyHandler($event)" (copy)="copyHandler($event)" class="igx-grid__tbody" role="rowgroup">
|
68 |
| - <div class="igx-grid__tbody-content" tabindex="0" (focus)="navigation.focusTbody($event)" (keydown)="navigation.handleNavigation($event)" |
| 68 | + <div class="igx-grid__tbody-content" tabindex="0" (focus)="navigation.focusTbody($event)" (keydown)="navigation.handleNavigation($event)" |
69 | 69 | (onDragStop)="selectionService.dragMode = $event" [attr.aria-activedescendant]="activeDescendant"
|
70 | 70 | (onDragScroll)="dragScroll($event)" [igxGridDragSelect]="selectionService.dragMode"
|
71 | 71 | [style.height.px]='totalHeight' [style.width.px]='calcWidth' #tbody (scroll)='preventContainerScroll($event)'>
|
|
105 | 105 | | treeGridFiltering:filteringExpressionsTree:filterStrategy:advancedFilteringExpressionsTree:pipeTrigger:filteringPipeTrigger
|
106 | 106 | | treeGridSorting:sortingExpressions:sortStrategy:pipeTrigger
|
107 | 107 | | treeGridFlattening:expansionDepth:expansionStates:pipeTrigger
|
108 |
| - | treeGridPaging:page:perPage:pipeTrigger |
| 108 | + | treeGridPaging:paginator?.page:paginator?.perPage:pipeTrigger |
109 | 109 | | treeGridSummary:hasSummarizedColumns:summaryCalculationMode:summaryPosition:showSummaryOnCollapse:pipeTrigger:summaryPipeTrigger
|
110 | 110 | | gridRowPinning:id:false:pipeTrigger
|
111 | 111 | | gridAddRow:false:pipeTrigger"
|
|
151 | 151 | </div>
|
152 | 152 |
|
153 | 153 | <div class="igx-grid__tfoot" role="rowgroup" [style.height.px]='summariesHeight' #tfoot>
|
154 |
| - <div tabindex="0" (focus)="navigation.focusFirstCell(false)" |
| 154 | + <div tabindex="0" (focus)="navigation.focusFirstCell(false)" |
155 | 155 | (keydown)="navigation.summaryNav($event)" [attr.aria-activedescendant]="activeDescendant">
|
156 | 156 | <igx-grid-summary-row [style.width.px]='calcWidth' [style.height.px]='summariesHeight'
|
157 | 157 | *ngIf="hasSummarizedColumns && rootSummariesEnabled" [gridID]="id" role="row"
|
|
174 | 174 |
|
175 | 175 | <div class="igx-grid__footer" #footer>
|
176 | 176 | <ng-content select="igx-grid-footer"></ng-content>
|
177 |
| - <ng-container *ngIf="paging && totalRecords"> |
178 |
| - <ng-container |
179 |
| - *ngTemplateOutlet="paginationTemplate ? paginationTemplate : defaultPaginator; context: {$implicit: this}"> |
180 |
| - </ng-container> |
| 177 | + <ng-container *ngIf="totalRecords"> |
| 178 | + <ng-content select="igx-paginator"></ng-content> |
181 | 179 | </ng-container>
|
182 | 180 | </div>
|
183 | 181 |
|
184 |
| -<ng-template #defaultPaginator> |
185 |
| - <igx-paginator [overlaySettings]="paginatorSettings" [displayDensity]="displayDensity" [(page)]="page" [totalRecords]="totalRecords" |
186 |
| - [(perPage)]="perPage"> |
187 |
| - </igx-paginator> |
188 |
| -</ng-template> |
189 |
| - |
190 | 182 | <ng-template #emptyFilteredGrid>
|
191 | 183 | <span class="igx-grid__tbody-message">
|
192 | 184 | <span>{{emptyFilteredGridMessage}}</span>
|
|
0 commit comments