@progress/kendo-angular-grid 21.0.0-develop.22 → 21.0.0-develop.24

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.
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1762432182,
14
- version: '21.0.0-develop.22',
13
+ publishDate: 1762766484,
14
+ version: '21.0.0-develop.24',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -304,17 +304,21 @@ export class ListComponent {
304
304
  const shouldCalculatePageSize = isDocumentAvailable() && this.isVirtual && !isPresent(this.virtualPageSize) && (!isPresent(this.ctx.grid?.pageSize) || this.ctx.grid?.pageable);
305
305
  const previousTotal = this.allItems.length;
306
306
  this.allItems = this.dataMappingService.dataMapper(this.data, this.nonLockedColumnsToRender, this.lockedLeafColumns, this.detailTemplate, this.showFooter);
307
- if (!this.isVirtual || (this.isVirtual && !this.ctx.grid?.pageable && !this.ctx.grid?.group?.length)) {
308
- this.itemsToRender = this.allItems;
309
- }
310
307
  const totalChanged = previousTotal !== this.allItems.length;
311
308
  if (this.totalIsAllItems && totalChanged) {
312
309
  this.scroller.reset(this.skipScroll);
313
310
  this.scroller.total = this.allItems.length;
311
+ this.itemsToRender = this.allItems.slice(this.scroller.virtualSkip, this.scroller.virtualSkip + this.virtualPageSize);
314
312
  }
315
313
  else if (totalChanged && !this.ctx.grid?.group?.length) {
316
314
  this.scroller.reset(this.skipScroll);
317
315
  this.scroller.total = this.total;
316
+ // Clear flags to allow viewport update on next change detection
317
+ this.skipScroll = false;
318
+ this.scroller.scrollSyncing = false;
319
+ }
320
+ if (!this.isVirtual || (this.isVirtual && !this.ctx.grid?.pageable && !this.ctx.grid?.group?.length)) {
321
+ this.itemsToRender = this.allItems;
318
322
  }
319
323
  const rebindGroupedData = this.isVirtual && !totalChanged && this.ctx.grid?.group?.length && !this.rebindGroupedDataFlag;
320
324
  if (rebindGroupedData) {
@@ -577,7 +577,7 @@ export class AiAssistantComponent {
577
577
  const hasRowSelections = highlightItems.some(item => !isPresent(item.columnKey));
578
578
  const isCellMode = selectionInstance.isCellSelectionMode;
579
579
  if ((!isCellMode && hasCellSelections) || (isCellMode && hasRowSelections)) {
580
- const key = isCellMode ? 'aiAssistantSelectionCellModeRequired' : 'aiAssistantSelectionRowModeRequired';
580
+ const key = isCellMode ? 'aiAssistantSelectionRowModeRequired' : 'aiAssistantSelectionCellModeRequired';
581
581
  this.updateLastMessage(messages, this.ctx.localization?.get(key));
582
582
  return;
583
583
  }
@@ -22953,8 +22953,8 @@ const packageMetadata = {
22953
22953
  productName: 'Kendo UI for Angular',
22954
22954
  productCode: 'KENDOUIANGULAR',
22955
22955
  productCodes: ['KENDOUIANGULAR'],
22956
- publishDate: 1762432182,
22957
- version: '21.0.0-develop.22',
22956
+ publishDate: 1762766484,
22957
+ version: '21.0.0-develop.24',
22958
22958
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
22959
22959
  };
22960
22960
 
@@ -25580,17 +25580,21 @@ class ListComponent {
25580
25580
  const shouldCalculatePageSize = isDocumentAvailable() && this.isVirtual && !isPresent(this.virtualPageSize) && (!isPresent(this.ctx.grid?.pageSize) || this.ctx.grid?.pageable);
25581
25581
  const previousTotal = this.allItems.length;
25582
25582
  this.allItems = this.dataMappingService.dataMapper(this.data, this.nonLockedColumnsToRender, this.lockedLeafColumns, this.detailTemplate, this.showFooter);
25583
- if (!this.isVirtual || (this.isVirtual && !this.ctx.grid?.pageable && !this.ctx.grid?.group?.length)) {
25584
- this.itemsToRender = this.allItems;
25585
- }
25586
25583
  const totalChanged = previousTotal !== this.allItems.length;
25587
25584
  if (this.totalIsAllItems && totalChanged) {
25588
25585
  this.scroller.reset(this.skipScroll);
25589
25586
  this.scroller.total = this.allItems.length;
25587
+ this.itemsToRender = this.allItems.slice(this.scroller.virtualSkip, this.scroller.virtualSkip + this.virtualPageSize);
25590
25588
  }
25591
25589
  else if (totalChanged && !this.ctx.grid?.group?.length) {
25592
25590
  this.scroller.reset(this.skipScroll);
25593
25591
  this.scroller.total = this.total;
25592
+ // Clear flags to allow viewport update on next change detection
25593
+ this.skipScroll = false;
25594
+ this.scroller.scrollSyncing = false;
25595
+ }
25596
+ if (!this.isVirtual || (this.isVirtual && !this.ctx.grid?.pageable && !this.ctx.grid?.group?.length)) {
25597
+ this.itemsToRender = this.allItems;
25594
25598
  }
25595
25599
  const rebindGroupedData = this.isVirtual && !totalChanged && this.ctx.grid?.group?.length && !this.rebindGroupedDataFlag;
25596
25600
  if (rebindGroupedData) {
@@ -38179,7 +38183,7 @@ class AiAssistantComponent {
38179
38183
  const hasRowSelections = highlightItems.some(item => !isPresent$1(item.columnKey));
38180
38184
  const isCellMode = selectionInstance.isCellSelectionMode;
38181
38185
  if ((!isCellMode && hasCellSelections) || (isCellMode && hasRowSelections)) {
38182
- const key = isCellMode ? 'aiAssistantSelectionCellModeRequired' : 'aiAssistantSelectionRowModeRequired';
38186
+ const key = isCellMode ? 'aiAssistantSelectionRowModeRequired' : 'aiAssistantSelectionCellModeRequired';
38183
38187
  this.updateLastMessage(messages, this.ctx.localization?.get(key));
38184
38188
  return;
38185
38189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-grid",
3
- "version": "21.0.0-develop.22",
3
+ "version": "21.0.0-develop.24",
4
4
  "description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -73,7 +73,7 @@
73
73
  "package": {
74
74
  "productName": "Kendo UI for Angular",
75
75
  "productCode": "KENDOUIANGULAR",
76
- "publishDate": 1762432182,
76
+ "publishDate": 1762766484,
77
77
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
78
78
  }
79
79
  },
@@ -86,32 +86,32 @@
86
86
  "@progress/kendo-data-query": "^1.0.0",
87
87
  "@progress/kendo-drawing": "^1.21.0",
88
88
  "@progress/kendo-licensing": "^1.7.0",
89
- "@progress/kendo-angular-buttons": "21.0.0-develop.22",
90
- "@progress/kendo-angular-common": "21.0.0-develop.22",
91
- "@progress/kendo-angular-dateinputs": "21.0.0-develop.22",
92
- "@progress/kendo-angular-layout": "21.0.0-develop.22",
93
- "@progress/kendo-angular-navigation": "21.0.0-develop.22",
94
- "@progress/kendo-angular-dropdowns": "21.0.0-develop.22",
95
- "@progress/kendo-angular-excel-export": "21.0.0-develop.22",
96
- "@progress/kendo-angular-icons": "21.0.0-develop.22",
97
- "@progress/kendo-angular-indicators": "21.0.0-develop.22",
98
- "@progress/kendo-angular-inputs": "21.0.0-develop.22",
99
- "@progress/kendo-angular-conversational-ui": "21.0.0-develop.22",
100
- "@progress/kendo-angular-intl": "21.0.0-develop.22",
101
- "@progress/kendo-angular-l10n": "21.0.0-develop.22",
102
- "@progress/kendo-angular-label": "21.0.0-develop.22",
103
- "@progress/kendo-angular-menu": "21.0.0-develop.22",
104
- "@progress/kendo-angular-pager": "21.0.0-develop.22",
105
- "@progress/kendo-angular-pdf-export": "21.0.0-develop.22",
106
- "@progress/kendo-angular-popup": "21.0.0-develop.22",
107
- "@progress/kendo-angular-toolbar": "21.0.0-develop.22",
108
- "@progress/kendo-angular-upload": "21.0.0-develop.22",
109
- "@progress/kendo-angular-utils": "21.0.0-develop.22",
89
+ "@progress/kendo-angular-buttons": "21.0.0-develop.24",
90
+ "@progress/kendo-angular-common": "21.0.0-develop.24",
91
+ "@progress/kendo-angular-dateinputs": "21.0.0-develop.24",
92
+ "@progress/kendo-angular-layout": "21.0.0-develop.24",
93
+ "@progress/kendo-angular-navigation": "21.0.0-develop.24",
94
+ "@progress/kendo-angular-dropdowns": "21.0.0-develop.24",
95
+ "@progress/kendo-angular-excel-export": "21.0.0-develop.24",
96
+ "@progress/kendo-angular-icons": "21.0.0-develop.24",
97
+ "@progress/kendo-angular-indicators": "21.0.0-develop.24",
98
+ "@progress/kendo-angular-inputs": "21.0.0-develop.24",
99
+ "@progress/kendo-angular-conversational-ui": "21.0.0-develop.24",
100
+ "@progress/kendo-angular-intl": "21.0.0-develop.24",
101
+ "@progress/kendo-angular-l10n": "21.0.0-develop.24",
102
+ "@progress/kendo-angular-label": "21.0.0-develop.24",
103
+ "@progress/kendo-angular-menu": "21.0.0-develop.24",
104
+ "@progress/kendo-angular-pager": "21.0.0-develop.24",
105
+ "@progress/kendo-angular-pdf-export": "21.0.0-develop.24",
106
+ "@progress/kendo-angular-popup": "21.0.0-develop.24",
107
+ "@progress/kendo-angular-toolbar": "21.0.0-develop.24",
108
+ "@progress/kendo-angular-upload": "21.0.0-develop.24",
109
+ "@progress/kendo-angular-utils": "21.0.0-develop.24",
110
110
  "rxjs": "^6.5.3 || ^7.0.0"
111
111
  },
112
112
  "dependencies": {
113
113
  "tslib": "^2.3.1",
114
- "@progress/kendo-angular-schematics": "21.0.0-develop.22",
114
+ "@progress/kendo-angular-schematics": "21.0.0-develop.24",
115
115
  "@progress/kendo-common": "^1.0.1",
116
116
  "@progress/kendo-file-saver": "^1.0.0",
117
117
  "node-html-parser": "^7.0.1"
@@ -5,19 +5,19 @@ const schematics_1 = require("@angular-devkit/schematics");
5
5
  function default_1(options) {
6
6
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
7
7
  // peer deps of the dropdowns
8
- '@progress/kendo-angular-treeview': '21.0.0-develop.22',
9
- '@progress/kendo-angular-navigation': '21.0.0-develop.22',
8
+ '@progress/kendo-angular-treeview': '21.0.0-develop.24',
9
+ '@progress/kendo-angular-navigation': '21.0.0-develop.24',
10
10
  // peer dependency of kendo-angular-inputs
11
- '@progress/kendo-angular-dialog': '21.0.0-develop.22',
11
+ '@progress/kendo-angular-dialog': '21.0.0-develop.24',
12
12
  // peer dependency of kendo-angular-icons
13
13
  '@progress/kendo-svg-icons': '^4.0.0',
14
14
  // peer dependency of kendo-angular-layout
15
- '@progress/kendo-angular-progressbar': '21.0.0-develop.22',
15
+ '@progress/kendo-angular-progressbar': '21.0.0-develop.24',
16
16
  // transitive peer dependencies from toolbar
17
- '@progress/kendo-angular-indicators': '21.0.0-develop.22',
17
+ '@progress/kendo-angular-indicators': '21.0.0-develop.24',
18
18
  // transitive peer dependencies from conversational-ui
19
- '@progress/kendo-angular-menu': '21.0.0-develop.22',
20
- '@progress/kendo-angular-upload': '21.0.0-develop.22'
19
+ '@progress/kendo-angular-menu': '21.0.0-develop.24',
20
+ '@progress/kendo-angular-upload': '21.0.0-develop.24'
21
21
  } });
22
22
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
23
23
  }