@syncfusion/ej2-treegrid 25.1.35 → 25.1.37

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 25.1.35
3
+ * version : 25.1.37
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-treegrid@*",
3
- "_id": "@syncfusion/ej2-treegrid@20.12.1",
3
+ "_id": "@syncfusion/ej2-treegrid@25.1.35",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-F833twyGGqQ5dieEzzXNBDedL8qGf12rSpYe9UWtvj0Tsc4UIdaJZMAuOlqPIBpBAMBjTLLKRkr7hRc6VAXAfA==",
5
+ "_integrity": "sha512-hhcRD9SU6lXTYJhfJp5PEI+vPnWVd8rpjtlNsZcKdcX70KbYVo/PqNGSHe50I4BMgdn6m0jGvxiZPDj79Q31Iw==",
6
6
  "_location": "/@syncfusion/ej2-treegrid",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -24,8 +24,8 @@
24
24
  "/@syncfusion/ej2-react-treegrid",
25
25
  "/@syncfusion/ej2-vue-treegrid"
26
26
  ],
27
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-treegrid/-/ej2-treegrid-20.12.1.tgz",
28
- "_shasum": "7fcd4cdcf02c5c0813d3e920096ac8d3379004c4",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-25.1.35.tgz",
28
+ "_shasum": "f218497fefd6ed222ac0d900f2a95b052e73e05e",
29
29
  "_spec": "@syncfusion/ej2-treegrid@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
31
31
  "author": {
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@syncfusion/ej2-base": "~25.1.35",
40
40
  "@syncfusion/ej2-data": "~25.1.35",
41
- "@syncfusion/ej2-grids": "~25.1.35",
41
+ "@syncfusion/ej2-grids": "~25.1.37",
42
42
  "@syncfusion/ej2-popups": "~25.1.35"
43
43
  },
44
44
  "deprecated": false,
@@ -66,6 +66,6 @@
66
66
  "url": "git+https://github.com/syncfusion/ej2-treegrid.git"
67
67
  },
68
68
  "typings": "index.d.ts",
69
- "version": "25.1.35",
69
+ "version": "25.1.37",
70
70
  "sideEffects": false
71
71
  }
@@ -1,5 +1,5 @@
1
1
  import { Column } from '../models/column';
2
- import { SaveEventArgs, DataStateChangeEventArgs as GridDataStateChangeEventArgs, ExcelExportProperties } from '@syncfusion/ej2-grids';
2
+ import { SaveEventArgs, DataStateChangeEventArgs as GridDataStateChangeEventArgs, ExcelExportProperties, RowDragEventArgs as GridRowDragEventArgs } from '@syncfusion/ej2-grids';
3
3
  import { PdfExportProperties } from '@syncfusion/ej2-grids';
4
4
  /**
5
5
  * Specifies FlatData interfaces.
@@ -177,3 +177,6 @@ export interface DataStateChangeEventArgs extends GridDataStateChangeEventArgs {
177
177
  /** Defines the resolve function for the promise. */
178
178
  childDataBind?: Function;
179
179
  }
180
+ export interface RowDragEventArgs extends GridRowDragEventArgs {
181
+ dropPosition: string;
182
+ }
@@ -1645,6 +1645,9 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
1645
1645
  getContent(): Element;
1646
1646
  private mergePersistTreeGridData;
1647
1647
  private mergeColumns;
1648
+ private setFrozenCount;
1649
+ private splitFrozenCount;
1650
+ private isFrozenGrid;
1648
1651
  private updateTreeGridModel;
1649
1652
  /**
1650
1653
  * Gets the content table of the TreeGrid.
@@ -779,7 +779,9 @@ var TreeGrid = /** @class */ (function (_super) {
779
779
  var gridContent = this.element.getElementsByClassName('e-gridcontent')[0].childNodes[0];
780
780
  gridContent.setAttribute('tabindex', '0');
781
781
  var contentTable = this.element.getElementsByClassName('e-content')[0].querySelector('.e-table');
782
- contentTable.setAttribute('role', 'treegrid');
782
+ if (!isNullOrUndefined(contentTable)) {
783
+ contentTable.setAttribute('role', 'treegrid');
784
+ }
783
785
  if (this.isIndentEnabled) {
784
786
  this.refreshToolbarItems();
785
787
  }
@@ -2503,6 +2505,17 @@ var TreeGrid = /** @class */ (function (_super) {
2503
2505
  var persist2 = 'mergeColumns';
2504
2506
  this.grid["" + persist2].apply(this, [storedColumn, columns]);
2505
2507
  };
2508
+ TreeGrid.prototype.setFrozenCount = function () {
2509
+ var persist3 = 'setFrozenCount';
2510
+ this.grid["" + persist3].apply(this);
2511
+ };
2512
+ TreeGrid.prototype.splitFrozenCount = function (columns) {
2513
+ var persist4 = 'splitFrozenCount';
2514
+ this.grid["" + persist4].apply(this, [columns]);
2515
+ };
2516
+ TreeGrid.prototype.isFrozenGrid = function () {
2517
+ return this.grid.isFrozenGrid();
2518
+ };
2506
2519
  TreeGrid.prototype.updateTreeGridModel = function () {
2507
2520
  this.setProperties({ filterSettings: getObject('properties', this.grid.filterSettings) }, true);
2508
2521
  this.setProperties({ pageSettings: getObject('properties', this.grid.pageSettings) }, true);
@@ -259,7 +259,9 @@ var Render = /** @class */ (function () {
259
259
  this.parent['args'] = args;
260
260
  var columnModel = getValue('columnModel', this.parent);
261
261
  var treeColumn = columnModel[this.parent.treeColumnIndex];
262
- if ((isNullOrUndefined(this.parent.rowTemplate) && !(this.parent.isReact))) {
262
+ if ((isNullOrUndefined(this.parent.rowTemplate) && !(this.parent.isReact))
263
+ || ((this.parent.isReact) &&
264
+ !args.column['template'])) {
263
265
  this.parent.trigger(events.queryCellInfo, args);
264
266
  }
265
267
  else if (((this.parent.isReact) &&