@progress/kendo-angular-grid 7.2.5-dev.202208151739 → 7.3.0-dev.202209071125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/kendo-angular-grid.umd.js +1 -1
- package/column-menu/column-menu.service.d.ts +1 -1
- package/column-resizing/column-handle.directive.d.ts +1 -0
- package/columns/column-base.d.ts +8 -2
- package/columns/column-group.component.d.ts +4 -0
- package/esm2015/column-menu/column-menu-sort.component.js +4 -4
- package/esm2015/column-menu/column-menu.component.js +2 -2
- package/esm2015/column-menu/column-menu.service.js +1 -1
- package/esm2015/column-resizing/column-handle.directive.js +24 -3
- package/esm2015/columns/column-base.js +5 -2
- package/esm2015/dragdrop/draggable-column.directive.js +2 -2
- package/esm2015/filtering/menu/filter-menu.component.js +2 -2
- package/esm2015/grid.component.js +3 -1
- package/esm2015/grouping/group-header.component.js +2 -2
- package/esm2015/grouping/group-indicator.component.js +6 -6
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/pager/pager-next-buttons.component.js +4 -4
- package/esm2015/pager/pager-prev-buttons.component.js +4 -4
- package/esm2015/rendering/common/col-group.component.js +24 -3
- package/esm2015/rendering/header/header.component.js +110 -84
- package/esm2015/rendering/list.component.js +13 -6
- package/esm2015/rendering/table-body.component.js +4 -4
- package/fesm2015/kendo-angular-grid.js +210 -131
- package/package.json +1 -1
- package/rendering/common/col-group.component.d.ts +7 -2
- package/rendering/list.component.d.ts +3 -2
|
@@ -160,8 +160,8 @@ export class HeaderComponent {
|
|
|
160
160
|
const state = this.sortDescriptor(field);
|
|
161
161
|
return {
|
|
162
162
|
'k-icon': isPresent(state.dir),
|
|
163
|
-
'k-i-sort-desc-
|
|
164
|
-
'k-i-sort-asc-
|
|
163
|
+
'k-i-sort-desc-small': state.dir === "desc",
|
|
164
|
+
'k-i-sort-asc-small': state.dir === "asc"
|
|
165
165
|
};
|
|
166
166
|
}
|
|
167
167
|
sortState(column) {
|
|
@@ -445,6 +445,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
445
445
|
role="columnheader"
|
|
446
446
|
aria-selected="false"
|
|
447
447
|
[attr.aria-sort]="sortState(getColumnComponent(column))"
|
|
448
|
+
[class.k-sorted]="!!sortState(getColumnComponent(column))"
|
|
448
449
|
(keydown)="onHeaderKeydown(getColumnComponent(column), $event)"
|
|
449
450
|
kendoDropTarget
|
|
450
451
|
kendoDraggable
|
|
@@ -467,31 +468,37 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
467
468
|
[attr.colspan]="column.colspan">
|
|
468
469
|
|
|
469
470
|
<ng-container *ngIf="!isSortable(getColumnComponent(column))">
|
|
470
|
-
<
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
471
|
+
<span class="k-cell-inner">
|
|
472
|
+
<span class="k-link">
|
|
473
|
+
<ng-template
|
|
474
|
+
[templateContext]="{
|
|
475
|
+
templateRef: column.headerTemplateRef,
|
|
476
|
+
columnIndex: column.leafIndex,
|
|
477
|
+
column: column,
|
|
478
|
+
$implicit: column
|
|
479
|
+
}">
|
|
480
|
+
</ng-template>
|
|
481
|
+
<ng-container *ngIf="!column.headerTemplateRef">
|
|
482
|
+
<span class="k-column-title">{{column.displayTitle}}</span>
|
|
483
|
+
</ng-container>
|
|
484
|
+
</span>
|
|
485
|
+
<kendo-grid-filter-menu
|
|
486
|
+
*ngIf="showFilterMenu && isFilterable(getColumnComponent(column))"
|
|
487
|
+
[column]="getColumnComponent(column)"
|
|
488
|
+
[filter]="filter"
|
|
489
|
+
[tabIndex]="tabIndex">
|
|
490
|
+
</kendo-grid-filter-menu>
|
|
491
|
+
<kendo-grid-column-menu *ngIf="showColumnMenu(column)"
|
|
492
|
+
[standalone]="false"
|
|
493
|
+
[settings]="columnMenuSettings"
|
|
494
|
+
[column]="column"
|
|
495
|
+
[columnMenuTemplate]="columnMenuTemplate"
|
|
496
|
+
[sort]="sort"
|
|
497
|
+
[filter]="filter"
|
|
498
|
+
[sortable]="sortable"
|
|
499
|
+
[tabIndex]="tabIndex">
|
|
500
|
+
</kendo-grid-column-menu>
|
|
501
|
+
</span>
|
|
495
502
|
</ng-container>
|
|
496
503
|
|
|
497
504
|
<ng-container *ngIf="isSortable(getColumnComponent(column))">
|
|
@@ -576,28 +583,34 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
576
583
|
[ngStyle]="column.headerStyle"
|
|
577
584
|
[attr.rowspan]="column.rowspan(totalColumnLevels)"
|
|
578
585
|
[attr.colspan]="column.colspan">
|
|
586
|
+
<span class="k-cell-inner">
|
|
587
|
+
<span class="k-link">
|
|
588
|
+
<ng-template
|
|
589
|
+
[templateContext]="{
|
|
590
|
+
templateRef: column.headerTemplateRef,
|
|
591
|
+
columnIndex: lockedColumnsCount + columnIndex,
|
|
592
|
+
column: column,
|
|
593
|
+
$implicit: column
|
|
594
|
+
}">
|
|
595
|
+
</ng-template>
|
|
596
|
+
<ng-container *ngIf="!column.headerTemplateRef">
|
|
597
|
+
<span class="k-column-title">{{column.displayTitle}}</span>
|
|
598
|
+
</ng-container>
|
|
599
|
+
</span>
|
|
579
600
|
<kendo-grid-column-menu *ngIf="showColumnMenu(column)"
|
|
580
601
|
[standalone]="false"
|
|
581
602
|
[settings]="columnMenuSettings"
|
|
582
603
|
[column]="column"
|
|
583
604
|
[columnMenuTemplate]="columnMenuTemplate">
|
|
584
605
|
</kendo-grid-column-menu>
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
<ng-container *ngIf="!column.headerTemplateRef">{{column.displayTitle}}</ng-container>
|
|
594
|
-
<span kendoGridColumnHandle
|
|
595
|
-
kendoDraggable
|
|
596
|
-
class="k-column-resizer"
|
|
597
|
-
*ngIf="resizable"
|
|
598
|
-
[column]="column"
|
|
599
|
-
[columns]="columns">
|
|
600
|
-
</span>
|
|
606
|
+
</span>
|
|
607
|
+
<span kendoGridColumnHandle
|
|
608
|
+
kendoDraggable
|
|
609
|
+
class="k-column-resizer"
|
|
610
|
+
*ngIf="resizable"
|
|
611
|
+
[column]="column"
|
|
612
|
+
[columns]="columns">
|
|
613
|
+
</span>
|
|
601
614
|
</th>
|
|
602
615
|
</ng-container>
|
|
603
616
|
</tr>
|
|
@@ -653,6 +666,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
653
666
|
role="columnheader"
|
|
654
667
|
aria-selected="false"
|
|
655
668
|
[attr.aria-sort]="sortState(getColumnComponent(column))"
|
|
669
|
+
[class.k-sorted]="!!sortState(getColumnComponent(column))"
|
|
656
670
|
(keydown)="onHeaderKeydown(getColumnComponent(column), $event)"
|
|
657
671
|
kendoDropTarget
|
|
658
672
|
kendoDraggable
|
|
@@ -675,31 +689,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
675
689
|
[attr.colspan]="column.colspan">
|
|
676
690
|
|
|
677
691
|
<ng-container *ngIf="!isSortable(getColumnComponent(column))">
|
|
678
|
-
<
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
692
|
+
<span class="k-cell-inner">
|
|
693
|
+
<span class="k-link">
|
|
694
|
+
<ng-template
|
|
695
|
+
[templateContext]="{
|
|
696
|
+
templateRef: column.headerTemplateRef,
|
|
697
|
+
columnIndex: column.leafIndex,
|
|
698
|
+
column: column,
|
|
699
|
+
$implicit: column
|
|
700
|
+
}">
|
|
701
|
+
</ng-template>
|
|
702
|
+
<ng-container *ngIf="!column.headerTemplateRef">
|
|
703
|
+
<span class="k-column-title">{{column.displayTitle}}</span>
|
|
704
|
+
</ng-container>
|
|
705
|
+
</span>
|
|
706
|
+
<kendo-grid-filter-menu
|
|
707
|
+
*ngIf="showFilterMenu && isFilterable(getColumnComponent(column))"
|
|
708
|
+
[column]="getColumnComponent(column)"
|
|
709
|
+
[filter]="filter"
|
|
710
|
+
[tabIndex]="tabIndex">
|
|
711
|
+
</kendo-grid-filter-menu>
|
|
712
|
+
<kendo-grid-column-menu *ngIf="showColumnMenu(column)"
|
|
713
|
+
[standalone]="false"
|
|
714
|
+
[settings]="columnMenuSettings"
|
|
715
|
+
[column]="column"
|
|
716
|
+
[columnMenuTemplate]="columnMenuTemplate"
|
|
717
|
+
[sort]="sort"
|
|
718
|
+
[filter]="filter"
|
|
719
|
+
[sortable]="sortable"
|
|
720
|
+
[tabIndex]="tabIndex">
|
|
721
|
+
</kendo-grid-column-menu>
|
|
722
|
+
</span>
|
|
703
723
|
</ng-container>
|
|
704
724
|
|
|
705
725
|
<ng-container *ngIf="isSortable(getColumnComponent(column))">
|
|
@@ -784,28 +804,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
784
804
|
[ngStyle]="column.headerStyle"
|
|
785
805
|
[attr.rowspan]="column.rowspan(totalColumnLevels)"
|
|
786
806
|
[attr.colspan]="column.colspan">
|
|
807
|
+
<span class="k-cell-inner">
|
|
808
|
+
<span class="k-link">
|
|
809
|
+
<ng-template
|
|
810
|
+
[templateContext]="{
|
|
811
|
+
templateRef: column.headerTemplateRef,
|
|
812
|
+
columnIndex: lockedColumnsCount + columnIndex,
|
|
813
|
+
column: column,
|
|
814
|
+
$implicit: column
|
|
815
|
+
}">
|
|
816
|
+
</ng-template>
|
|
817
|
+
<ng-container *ngIf="!column.headerTemplateRef">
|
|
818
|
+
<span class="k-column-title">{{column.displayTitle}}</span>
|
|
819
|
+
</ng-container>
|
|
820
|
+
</span>
|
|
787
821
|
<kendo-grid-column-menu *ngIf="showColumnMenu(column)"
|
|
788
822
|
[standalone]="false"
|
|
789
823
|
[settings]="columnMenuSettings"
|
|
790
824
|
[column]="column"
|
|
791
825
|
[columnMenuTemplate]="columnMenuTemplate">
|
|
792
826
|
</kendo-grid-column-menu>
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
<ng-container *ngIf="!column.headerTemplateRef">{{column.displayTitle}}</ng-container>
|
|
802
|
-
<span kendoGridColumnHandle
|
|
803
|
-
kendoDraggable
|
|
804
|
-
class="k-column-resizer"
|
|
805
|
-
*ngIf="resizable"
|
|
806
|
-
[column]="column"
|
|
807
|
-
[columns]="columns">
|
|
808
|
-
</span>
|
|
827
|
+
</span>
|
|
828
|
+
<span kendoGridColumnHandle
|
|
829
|
+
kendoDraggable
|
|
830
|
+
class="k-column-resizer"
|
|
831
|
+
*ngIf="resizable"
|
|
832
|
+
[column]="column"
|
|
833
|
+
[columns]="columns">
|
|
834
|
+
</span>
|
|
809
835
|
</th>
|
|
810
836
|
</ng-container>
|
|
811
837
|
</tr>
|
|
@@ -110,6 +110,7 @@ export class ListComponent {
|
|
|
110
110
|
this.selectable = false;
|
|
111
111
|
this.groupable = false;
|
|
112
112
|
this.trackBy = defaultTrackBy;
|
|
113
|
+
this.sort = new Array();
|
|
113
114
|
this.contentScroll = new EventEmitter();
|
|
114
115
|
this.pageChange = new EventEmitter();
|
|
115
116
|
this.scrollBottom = new EventEmitter();
|
|
@@ -563,7 +564,7 @@ export class ListComponent {
|
|
|
563
564
|
}
|
|
564
565
|
}
|
|
565
566
|
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ListComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: i1.DetailsService }, { token: i2.ChangeNotificationService }, { token: i3.SuspendService }, { token: i4.GroupsService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i5.ScrollSyncService }, { token: i6.ResizeService }, { token: i7.EditService }, { token: i8.BrowserSupportService }, { token: i9.NavigationService }, { token: i10.ScrollRequestService }, { token: i11.LocalizationService }, { token: i12.ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: i13.PDFService }, { token: i14.ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
566
|
-
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ListComponent, selector: "kendo-grid-list", inputs: { data: "data", groups: "groups", total: "total", rowHeight: "rowHeight", stickyRowHeight: "stickyRowHeight", detailRowHeight: "detailRowHeight", take: "take", skip: "skip", columns: "columns", detailTemplate: "detailTemplate", noRecordsTemplate: "noRecordsTemplate", selectable: "selectable", groupable: "groupable", filterable: "filterable", rowClass: "rowClass", rowSticky: "rowSticky", loading: "loading", trackBy: "trackBy", virtualColumns: "virtualColumns", isVirtual: "isVirtual", cellLoadingTemplate: "cellLoadingTemplate", loadingTemplate: "loadingTemplate" }, outputs: { contentScroll: "contentScroll", pageChange: "pageChange", scrollBottom: "scrollBottom" }, host: { properties: { "class.k-grid-container": "this.hostClass", "attr.role": "this.hostRole" } }, providers: [
|
|
567
|
+
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ListComponent, selector: "kendo-grid-list", inputs: { data: "data", groups: "groups", total: "total", rowHeight: "rowHeight", stickyRowHeight: "stickyRowHeight", detailRowHeight: "detailRowHeight", take: "take", skip: "skip", columns: "columns", detailTemplate: "detailTemplate", noRecordsTemplate: "noRecordsTemplate", selectable: "selectable", groupable: "groupable", filterable: "filterable", rowClass: "rowClass", rowSticky: "rowSticky", loading: "loading", trackBy: "trackBy", virtualColumns: "virtualColumns", isVirtual: "isVirtual", cellLoadingTemplate: "cellLoadingTemplate", loadingTemplate: "loadingTemplate", sort: "sort" }, outputs: { contentScroll: "contentScroll", pageChange: "pageChange", scrollBottom: "scrollBottom" }, host: { properties: { "class.k-grid-container": "this.hostClass", "attr.role": "this.hostRole" } }, providers: [
|
|
567
568
|
{
|
|
568
569
|
provide: SCROLLER_FACTORY_TOKEN,
|
|
569
570
|
useValue: DEFAULT_SCROLLER_FACTORY
|
|
@@ -585,7 +586,8 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
585
586
|
role="presentation"
|
|
586
587
|
[groups]="groups"
|
|
587
588
|
[columns]="$any(lockedLeafColumns)"
|
|
588
|
-
[detailTemplate]="detailTemplate"
|
|
589
|
+
[detailTemplate]="detailTemplate"
|
|
590
|
+
[sort]="sort">
|
|
589
591
|
</colgroup>
|
|
590
592
|
<tbody kendoGridTableBody
|
|
591
593
|
role="presentation"
|
|
@@ -624,7 +626,8 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
624
626
|
role="presentation"
|
|
625
627
|
[groups]="isLocked ? [] : groups"
|
|
626
628
|
[columns]="$any(nonLockedColumnsToRender)"
|
|
627
|
-
[detailTemplate]="detailTemplate"
|
|
629
|
+
[detailTemplate]="detailTemplate"
|
|
630
|
+
[sort]="sort">
|
|
628
631
|
</colgroup>
|
|
629
632
|
<tbody kendoGridTableBody
|
|
630
633
|
role="presentation"
|
|
@@ -660,7 +663,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
660
663
|
<div [style.width.px]="totalWidth"></div>
|
|
661
664
|
</div>
|
|
662
665
|
</div>
|
|
663
|
-
`, isInline: true, components: [{ type: i15.ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate"] }, { type: i16.TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "data", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "showGroupFooters", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "rowClass"] }, { type: i17.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i18.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i17.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i19.TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: i20.ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }] });
|
|
666
|
+
`, isInline: true, components: [{ type: i15.ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { type: i16.TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "data", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "showGroupFooters", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "rowClass"] }, { type: i17.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i18.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i17.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i19.TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: i20.ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }] });
|
|
664
667
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ListComponent, decorators: [{
|
|
665
668
|
type: Component,
|
|
666
669
|
args: [{
|
|
@@ -688,7 +691,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
688
691
|
role="presentation"
|
|
689
692
|
[groups]="groups"
|
|
690
693
|
[columns]="$any(lockedLeafColumns)"
|
|
691
|
-
[detailTemplate]="detailTemplate"
|
|
694
|
+
[detailTemplate]="detailTemplate"
|
|
695
|
+
[sort]="sort">
|
|
692
696
|
</colgroup>
|
|
693
697
|
<tbody kendoGridTableBody
|
|
694
698
|
role="presentation"
|
|
@@ -727,7 +731,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
727
731
|
role="presentation"
|
|
728
732
|
[groups]="isLocked ? [] : groups"
|
|
729
733
|
[columns]="$any(nonLockedColumnsToRender)"
|
|
730
|
-
[detailTemplate]="detailTemplate"
|
|
734
|
+
[detailTemplate]="detailTemplate"
|
|
735
|
+
[sort]="sort">
|
|
731
736
|
</colgroup>
|
|
732
737
|
<tbody kendoGridTableBody
|
|
733
738
|
role="presentation"
|
|
@@ -818,6 +823,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
818
823
|
type: Input
|
|
819
824
|
}], loadingTemplate: [{
|
|
820
825
|
type: Input
|
|
826
|
+
}], sort: [{
|
|
827
|
+
type: Input
|
|
821
828
|
}], contentScroll: [{
|
|
822
829
|
type: Output
|
|
823
830
|
}], pageChange: [{
|
|
@@ -361,7 +361,7 @@ export class TableBodyComponent {
|
|
|
361
361
|
TableBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableBodyComponent, deps: [{ token: i1.DetailsService }, { token: i2.GroupsService }, { token: i3.ChangeNotificationService }, { token: i4.EditService }, { token: i5.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i6.DomEventsService }, { token: i7.SelectionService }, { token: i8.CellSelectionService }, { token: i9.ColumnInfoService }, { token: i10.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
362
362
|
TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: { columns: "columns", allColumns: "allColumns", groups: "groups", detailTemplate: "detailTemplate", noRecordsTemplate: "noRecordsTemplate", data: "data", skip: "skip", selectable: "selectable", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", isLoading: "isLoading", isVirtual: "isVirtual", cellLoadingTemplate: "cellLoadingTemplate", skipGroupDecoration: "skipGroupDecoration", showGroupFooters: "showGroupFooters", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", trackBy: "trackBy", rowSticky: "rowSticky", rowClass: "rowClass" }, usesOnChanges: true, ngImport: i0, template: `
|
|
363
363
|
<ng-container *ngIf="editService.hasNewItem">
|
|
364
|
-
<tr class="k-grid-add-row k-grid-edit-row"
|
|
364
|
+
<tr class="k-grid-add-row k-grid-edit-row k-master-row"
|
|
365
365
|
kendoGridLogicalRow
|
|
366
366
|
[logicalRowIndex]="addRowLogicalIndex()"
|
|
367
367
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
@@ -442,7 +442,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
442
442
|
[class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"
|
|
443
443
|
[ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
|
|
444
444
|
[class.k-alt]="isOdd(item)"
|
|
445
|
-
[class.k-master-row]="
|
|
445
|
+
[class.k-master-row]="true"
|
|
446
446
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
447
447
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
448
448
|
[class.k-selected]="isSelectable() && isRowSelected(item)">
|
|
@@ -580,7 +580,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
580
580
|
selector: '[kendoGridTableBody]',
|
|
581
581
|
template: `
|
|
582
582
|
<ng-container *ngIf="editService.hasNewItem">
|
|
583
|
-
<tr class="k-grid-add-row k-grid-edit-row"
|
|
583
|
+
<tr class="k-grid-add-row k-grid-edit-row k-master-row"
|
|
584
584
|
kendoGridLogicalRow
|
|
585
585
|
[logicalRowIndex]="addRowLogicalIndex()"
|
|
586
586
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
@@ -661,7 +661,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
661
661
|
[class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"
|
|
662
662
|
[ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
|
|
663
663
|
[class.k-alt]="isOdd(item)"
|
|
664
|
-
[class.k-master-row]="
|
|
664
|
+
[class.k-master-row]="true"
|
|
665
665
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
666
666
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
667
667
|
[class.k-selected]="isSelectable() && isRowSelected(item)">
|