@progress/kendo-angular-grid 21.1.1-develop.1 → 21.2.0-develop.1
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/esm2022/adaptiveness/adaptive-renderer.component.mjs +850 -756
- package/esm2022/aggregates/status-bar.component.mjs +13 -11
- package/esm2022/column-menu/column-chooser-content.component.mjs +133 -123
- package/esm2022/column-menu/column-list.component.mjs +62 -59
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +12 -11
- package/esm2022/column-menu/column-menu-autosize.component.mjs +12 -11
- package/esm2022/column-menu/column-menu-item.component.mjs +221 -85
- package/esm2022/column-menu/column-menu-position.component.mjs +46 -43
- package/esm2022/column-menu/column-menu.component.mjs +401 -315
- package/esm2022/editing/add-command.directive.mjs +27 -17
- package/esm2022/editing/cancel-command.directive.mjs +27 -17
- package/esm2022/editing/edit-command.directive.mjs +27 -17
- package/esm2022/editing/form/form-formfield.component.mjs +97 -70
- package/esm2022/editing/form/form.component.mjs +77 -61
- package/esm2022/editing/remove-command.directive.mjs +27 -17
- package/esm2022/editing/save-command.directive.mjs +27 -17
- package/esm2022/excel/excel-command.directive.mjs +27 -17
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +20 -17
- package/esm2022/filtering/cell/filter-cell.component.mjs +35 -33
- package/esm2022/filtering/filter-row.component.mjs +37 -29
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +34 -31
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +52 -49
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +97 -89
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +50 -47
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +36 -33
- package/esm2022/filtering/multicheckbox-filter.component.mjs +54 -43
- package/esm2022/grid.component.mjs +1579 -1483
- package/esm2022/grouping/group-header.component.mjs +113 -89
- package/esm2022/grouping/group-panel.component.mjs +82 -75
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command.directive.mjs +27 -17
- package/esm2022/rendering/cell.component.mjs +411 -365
- package/esm2022/rendering/common/col-group.component.mjs +25 -15
- package/esm2022/rendering/common/loading.component.mjs +23 -19
- package/esm2022/rendering/details/detail-template.directive.mjs +6 -4
- package/esm2022/rendering/footer/footer.component.mjs +128 -112
- package/esm2022/rendering/header/header.component.mjs +412 -351
- package/esm2022/rendering/list.component.mjs +225 -202
- package/esm2022/rendering/table-body.component.mjs +553 -493
- package/esm2022/rendering/toolbar/toolbar.component.mjs +13 -11
- package/esm2022/rendering/toolbar/tools/ai-assistant/ai-assistant.component.mjs +86 -79
- package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +54 -51
- package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +138 -115
- package/esm2022/rendering/toolbar/tools/sort-toolbar-tool.component.mjs +72 -65
- package/fesm2022/progress-kendo-angular-grid.mjs +6426 -5525
- package/package.json +24 -24
- package/rendering/details/detail-template.directive.d.ts +6 -4
- package/schematics/ngAdd/index.js +11 -7
|
@@ -39,7 +39,6 @@ import { TableBodyComponent } from './table-body.component';
|
|
|
39
39
|
import { ColGroupComponent } from './common/col-group.component';
|
|
40
40
|
import { GridTableDirective } from './grid-table.directive';
|
|
41
41
|
import { TableDirective } from '../column-resizing/table.directive';
|
|
42
|
-
import { NgIf } from '@angular/common';
|
|
43
42
|
import { DataMappingService } from '../data/data-mapping.service';
|
|
44
43
|
import * as i0 from "@angular/core";
|
|
45
44
|
import * as i1 from "./details/details.service";
|
|
@@ -815,14 +814,15 @@ export class ListComponent {
|
|
|
815
814
|
this.scroller.total = this.isVirtual && !this.ctx.grid?.pageable ? this.total : this.allItems.length;
|
|
816
815
|
}
|
|
817
816
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", 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.ContextService }, { token: i12.ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: i13.PDFService }, { token: i14.ColumnInfoService }, { token: i15.DataMappingService }], target: i0.ɵɵFactoryTarget.Component });
|
|
818
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
817
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ListComponent, isStandalone: true, selector: "kendo-grid-list", inputs: { data: "data", groups: "groups", total: "total", rowHeight: "rowHeight", 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", size: "size" }, outputs: { contentScroll: "contentScroll", pageChange: "pageChange", scrollBottom: "scrollBottom" }, host: { properties: { "class.k-grid-container": "this.hostClass", "attr.role": "this.hostRole" } }, providers: [
|
|
819
818
|
{
|
|
820
819
|
provide: SCROLLER_FACTORY_TOKEN,
|
|
821
820
|
useValue: DEFAULT_SCROLLER_FACTORY
|
|
822
821
|
}
|
|
823
822
|
], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "lockedContainer", first: true, predicate: ["lockedContainer"], descendants: true }, { propertyName: "lockedTable", first: true, predicate: ["lockedTable"], descendants: true }, { propertyName: "table", first: true, predicate: ["table"], descendants: true, static: true }, { propertyName: "resizeSensors", predicate: ResizeSensorComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
824
|
-
|
|
825
|
-
|
|
823
|
+
@if (isLocked && !isStacked) {
|
|
824
|
+
<div #lockedContainer class="k-grid-content-locked" role="presentation"
|
|
825
|
+
[style.width.px]="lockedWidth" tabindex="-1"
|
|
826
826
|
[kendoEventsOutsideAngular]="{
|
|
827
827
|
keydown: lockedKeydown,
|
|
828
828
|
scroll: lockedScroll,
|
|
@@ -832,108 +832,119 @@ export class ListComponent {
|
|
|
832
832
|
[scope]="this"
|
|
833
833
|
>
|
|
834
834
|
<div role="presentation">
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
835
|
+
<table
|
|
836
|
+
kendoGridResizableTable
|
|
837
|
+
[locked]="true"
|
|
838
|
+
#lockedTable
|
|
839
|
+
class="k-grid-table"
|
|
840
|
+
role="presentation"
|
|
841
|
+
kendoGridTable
|
|
842
|
+
[size]="size"
|
|
843
|
+
[style.width.px]="lockedWidth">
|
|
844
|
+
<colgroup kendoGridColGroup
|
|
845
|
+
[groups]="groups"
|
|
846
|
+
[columns]="$any(lockedLeafColumns)"
|
|
847
|
+
[detailTemplate]="detailTemplate"
|
|
848
|
+
[sort]="sort">
|
|
849
|
+
</colgroup>
|
|
850
|
+
<tbody kendoGridTableBody
|
|
851
|
+
role="presentation"
|
|
852
|
+
[groups]="groups"
|
|
853
|
+
[isLocked]="true"
|
|
854
|
+
[rowsToRender]="itemsToRender"
|
|
855
|
+
[rowHeight]="rowHeight"
|
|
856
|
+
[detailRowHeight]="detailRowHeight"
|
|
857
|
+
[noRecordsText]="''"
|
|
858
|
+
[columns]="$any(lockedLeafColumns)"
|
|
859
|
+
[totalColumnsCount]="leafColumns.length"
|
|
860
|
+
[totalColumns]="columns"
|
|
861
|
+
[detailTemplate]="detailTemplate"
|
|
862
|
+
[skip]="skip"
|
|
863
|
+
[selectable]="selectable"
|
|
864
|
+
[trackBy]="trackBy"
|
|
865
|
+
[filterable]="filterable"
|
|
866
|
+
[rowClass]="rowClass"
|
|
867
|
+
[isLoading]="loading"
|
|
868
|
+
[isVirtual]="isVirtual"
|
|
869
|
+
[cellLoadingTemplate]="cellLoadingTemplate">
|
|
870
|
+
</tbody>
|
|
871
|
+
</table>
|
|
872
|
+
<kendo-resize-sensor></kendo-resize-sensor>
|
|
873
|
+
</div>
|
|
874
|
+
@if (isVirtual) {
|
|
875
|
+
<div class="k-height-container" role="presentation">
|
|
876
|
+
<div></div>
|
|
876
877
|
</div>
|
|
878
|
+
}
|
|
877
879
|
</div>
|
|
880
|
+
}
|
|
878
881
|
<div
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
882
|
+
#container
|
|
883
|
+
class="k-grid-content k-virtual-content"
|
|
884
|
+
[kendoGridResizableContainer]="lockedLeafColumns.length > 0"
|
|
885
|
+
[lockedWidth]="lockedWidth + 1"
|
|
886
|
+
>
|
|
887
|
+
<div role="presentation">
|
|
888
|
+
<table
|
|
889
|
+
[style.width.px]="nonLockedWidth"
|
|
890
|
+
#table
|
|
891
|
+
kendoGridResizableTable
|
|
892
|
+
[virtualColumns]="virtualColumns"
|
|
893
|
+
class="k-grid-table"
|
|
894
|
+
kendoGridTable
|
|
895
|
+
[size]="size"
|
|
896
|
+
role="presentation">
|
|
897
|
+
<colgroup kendoGridColGroup
|
|
898
|
+
[groups]="isLocked ? [] : groups"
|
|
899
|
+
[columns]="$any(nonLockedColumnsToRender)"
|
|
900
|
+
[detailTemplate]="detailTemplate"
|
|
901
|
+
[sort]="sort">
|
|
902
|
+
</colgroup>
|
|
903
|
+
<tbody kendoGridTableBody
|
|
904
|
+
role="rowgroup"
|
|
905
|
+
[skipGroupDecoration]="isLocked"
|
|
906
|
+
[rowsToRender]="itemsToRender"
|
|
907
|
+
[groups]="groups"
|
|
908
|
+
[columns]="$any(nonLockedColumnsToRender)"
|
|
909
|
+
[allColumns]="$any(nonLockedLeafColumns)"
|
|
910
|
+
[detailTemplate]="detailTemplate"
|
|
911
|
+
[noRecordsTemplate]="noRecordsTemplate"
|
|
912
|
+
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
913
|
+
[totalColumnsCount]="leafColumns.length"
|
|
914
|
+
[totalColumns]="columns"
|
|
915
|
+
[skip]="skip"
|
|
916
|
+
[selectable]="selectable"
|
|
917
|
+
[trackBy]="trackBy"
|
|
918
|
+
[filterable]="filterable"
|
|
919
|
+
[rowClass]="rowClass"
|
|
920
|
+
[rowSticky]="rowSticky"
|
|
921
|
+
[virtualColumns]="virtualColumns"
|
|
922
|
+
[isLoading]="loading"
|
|
923
|
+
[isVirtual]="isVirtual"
|
|
924
|
+
[cellLoadingTemplate]="cellLoadingTemplate"
|
|
925
|
+
[rowHeight]="rowHeight"
|
|
926
|
+
[detailRowHeight]="detailRowHeight">
|
|
927
|
+
</tbody>
|
|
928
|
+
</table>
|
|
929
|
+
@if (isLocked) {
|
|
930
|
+
<kendo-resize-sensor></kendo-resize-sensor>
|
|
931
|
+
}
|
|
932
|
+
</div>
|
|
933
|
+
@if (isLocked || virtualColumns) {
|
|
934
|
+
<kendo-resize-sensor></kendo-resize-sensor>
|
|
935
|
+
}
|
|
936
|
+
@if (isVirtual) {
|
|
937
|
+
<div class="k-height-container" role="presentation">
|
|
938
|
+
<div></div>
|
|
939
|
+
</div>
|
|
940
|
+
}
|
|
941
|
+
@if (virtualColumns && !isStacked) {
|
|
942
|
+
<div class="k-width-container" role="presentation">
|
|
943
|
+
<div [style.width.px]="totalWidth"></div>
|
|
944
|
+
</div>
|
|
945
|
+
}
|
|
935
946
|
</div>
|
|
936
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
947
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: TableDirective, selector: "[kendoGridResizableTable]", inputs: ["locked", "virtualColumns"] }, { kind: "directive", type: GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { kind: "component", type: ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { kind: "component", type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "rowsToRender", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "totalColumns", "rowClass", "rowHeight", "detailRowHeight"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "directive", type: ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }] });
|
|
937
948
|
}
|
|
938
949
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ListComponent, decorators: [{
|
|
939
950
|
type: Component,
|
|
@@ -946,8 +957,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
946
957
|
],
|
|
947
958
|
selector: 'kendo-grid-list',
|
|
948
959
|
template: `
|
|
949
|
-
|
|
950
|
-
|
|
960
|
+
@if (isLocked && !isStacked) {
|
|
961
|
+
<div #lockedContainer class="k-grid-content-locked" role="presentation"
|
|
962
|
+
[style.width.px]="lockedWidth" tabindex="-1"
|
|
951
963
|
[kendoEventsOutsideAngular]="{
|
|
952
964
|
keydown: lockedKeydown,
|
|
953
965
|
scroll: lockedScroll,
|
|
@@ -957,110 +969,121 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
957
969
|
[scope]="this"
|
|
958
970
|
>
|
|
959
971
|
<div role="presentation">
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
972
|
+
<table
|
|
973
|
+
kendoGridResizableTable
|
|
974
|
+
[locked]="true"
|
|
975
|
+
#lockedTable
|
|
976
|
+
class="k-grid-table"
|
|
977
|
+
role="presentation"
|
|
978
|
+
kendoGridTable
|
|
979
|
+
[size]="size"
|
|
980
|
+
[style.width.px]="lockedWidth">
|
|
981
|
+
<colgroup kendoGridColGroup
|
|
982
|
+
[groups]="groups"
|
|
983
|
+
[columns]="$any(lockedLeafColumns)"
|
|
984
|
+
[detailTemplate]="detailTemplate"
|
|
985
|
+
[sort]="sort">
|
|
986
|
+
</colgroup>
|
|
987
|
+
<tbody kendoGridTableBody
|
|
988
|
+
role="presentation"
|
|
989
|
+
[groups]="groups"
|
|
990
|
+
[isLocked]="true"
|
|
991
|
+
[rowsToRender]="itemsToRender"
|
|
992
|
+
[rowHeight]="rowHeight"
|
|
993
|
+
[detailRowHeight]="detailRowHeight"
|
|
994
|
+
[noRecordsText]="''"
|
|
995
|
+
[columns]="$any(lockedLeafColumns)"
|
|
996
|
+
[totalColumnsCount]="leafColumns.length"
|
|
997
|
+
[totalColumns]="columns"
|
|
998
|
+
[detailTemplate]="detailTemplate"
|
|
999
|
+
[skip]="skip"
|
|
1000
|
+
[selectable]="selectable"
|
|
1001
|
+
[trackBy]="trackBy"
|
|
1002
|
+
[filterable]="filterable"
|
|
1003
|
+
[rowClass]="rowClass"
|
|
1004
|
+
[isLoading]="loading"
|
|
1005
|
+
[isVirtual]="isVirtual"
|
|
1006
|
+
[cellLoadingTemplate]="cellLoadingTemplate">
|
|
1007
|
+
</tbody>
|
|
1008
|
+
</table>
|
|
1009
|
+
<kendo-resize-sensor></kendo-resize-sensor>
|
|
1010
|
+
</div>
|
|
1011
|
+
@if (isVirtual) {
|
|
1012
|
+
<div class="k-height-container" role="presentation">
|
|
1013
|
+
<div></div>
|
|
1001
1014
|
</div>
|
|
1015
|
+
}
|
|
1002
1016
|
</div>
|
|
1017
|
+
}
|
|
1003
1018
|
<div
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1019
|
+
#container
|
|
1020
|
+
class="k-grid-content k-virtual-content"
|
|
1021
|
+
[kendoGridResizableContainer]="lockedLeafColumns.length > 0"
|
|
1022
|
+
[lockedWidth]="lockedWidth + 1"
|
|
1023
|
+
>
|
|
1024
|
+
<div role="presentation">
|
|
1025
|
+
<table
|
|
1026
|
+
[style.width.px]="nonLockedWidth"
|
|
1027
|
+
#table
|
|
1028
|
+
kendoGridResizableTable
|
|
1029
|
+
[virtualColumns]="virtualColumns"
|
|
1030
|
+
class="k-grid-table"
|
|
1031
|
+
kendoGridTable
|
|
1032
|
+
[size]="size"
|
|
1033
|
+
role="presentation">
|
|
1034
|
+
<colgroup kendoGridColGroup
|
|
1035
|
+
[groups]="isLocked ? [] : groups"
|
|
1036
|
+
[columns]="$any(nonLockedColumnsToRender)"
|
|
1037
|
+
[detailTemplate]="detailTemplate"
|
|
1038
|
+
[sort]="sort">
|
|
1039
|
+
</colgroup>
|
|
1040
|
+
<tbody kendoGridTableBody
|
|
1041
|
+
role="rowgroup"
|
|
1042
|
+
[skipGroupDecoration]="isLocked"
|
|
1043
|
+
[rowsToRender]="itemsToRender"
|
|
1044
|
+
[groups]="groups"
|
|
1045
|
+
[columns]="$any(nonLockedColumnsToRender)"
|
|
1046
|
+
[allColumns]="$any(nonLockedLeafColumns)"
|
|
1047
|
+
[detailTemplate]="detailTemplate"
|
|
1048
|
+
[noRecordsTemplate]="noRecordsTemplate"
|
|
1049
|
+
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
1050
|
+
[totalColumnsCount]="leafColumns.length"
|
|
1051
|
+
[totalColumns]="columns"
|
|
1052
|
+
[skip]="skip"
|
|
1053
|
+
[selectable]="selectable"
|
|
1054
|
+
[trackBy]="trackBy"
|
|
1055
|
+
[filterable]="filterable"
|
|
1056
|
+
[rowClass]="rowClass"
|
|
1057
|
+
[rowSticky]="rowSticky"
|
|
1058
|
+
[virtualColumns]="virtualColumns"
|
|
1059
|
+
[isLoading]="loading"
|
|
1060
|
+
[isVirtual]="isVirtual"
|
|
1061
|
+
[cellLoadingTemplate]="cellLoadingTemplate"
|
|
1062
|
+
[rowHeight]="rowHeight"
|
|
1063
|
+
[detailRowHeight]="detailRowHeight">
|
|
1064
|
+
</tbody>
|
|
1065
|
+
</table>
|
|
1066
|
+
@if (isLocked) {
|
|
1067
|
+
<kendo-resize-sensor></kendo-resize-sensor>
|
|
1068
|
+
}
|
|
1069
|
+
</div>
|
|
1070
|
+
@if (isLocked || virtualColumns) {
|
|
1071
|
+
<kendo-resize-sensor></kendo-resize-sensor>
|
|
1072
|
+
}
|
|
1073
|
+
@if (isVirtual) {
|
|
1074
|
+
<div class="k-height-container" role="presentation">
|
|
1075
|
+
<div></div>
|
|
1076
|
+
</div>
|
|
1077
|
+
}
|
|
1078
|
+
@if (virtualColumns && !isStacked) {
|
|
1079
|
+
<div class="k-width-container" role="presentation">
|
|
1080
|
+
<div [style.width.px]="totalWidth"></div>
|
|
1081
|
+
</div>
|
|
1082
|
+
}
|
|
1060
1083
|
</div>
|
|
1061
1084
|
`,
|
|
1062
1085
|
standalone: true,
|
|
1063
|
-
imports: [
|
|
1086
|
+
imports: [EventsOutsideAngularDirective, TableDirective, GridTableDirective, ColGroupComponent, TableBodyComponent, ResizeSensorComponent, ResizableContainerDirective]
|
|
1064
1087
|
}]
|
|
1065
1088
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1066
1089
|
type: Inject,
|