@syncfusion/ej2-treegrid 26.2.12 → 26.2.14

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 : 26.2.12
3
+ * version : 26.2.14
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@26.2.11",
3
+ "_id": "@syncfusion/ej2-treegrid@26.2.12",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-CXVEcMkoEPpqXqa5fEgBT6Qy8CGgGvULCa2H8CmtuOWE+6E7ey+gV7u5bMqc5AFUJo2BVdsWRmfxXzRQP26gxA==",
5
+ "_integrity": "sha512-vOe0gjwaK9/EISx9QC1AqClDxAx4EYZAmFEJe31WPcIsllnpGOM+lU3wlNxyo36ADOrubPPsdHUrRepXmiEdlQ==",
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-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-26.2.11.tgz",
28
- "_shasum": "6461d8531da1d9896b0e63538bfc85d9706199ae",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-26.2.12.tgz",
28
+ "_shasum": "23c0a74e7ba1e3e7b4b0b7a9acf7e6849f438fa7",
29
29
  "_spec": "@syncfusion/ej2-treegrid@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
31
31
  "author": {
@@ -37,8 +37,8 @@
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
39
  "@syncfusion/ej2-base": "~26.2.10",
40
- "@syncfusion/ej2-data": "~26.2.10",
41
- "@syncfusion/ej2-grids": "~26.2.12",
40
+ "@syncfusion/ej2-data": "~26.2.14",
41
+ "@syncfusion/ej2-grids": "~26.2.14",
42
42
  "@syncfusion/ej2-popups": "~26.2.11"
43
43
  },
44
44
  "deprecated": false,
@@ -76,6 +76,6 @@
76
76
  "url": "git+https://github.com/syncfusion/ej2-treegrid.git"
77
77
  },
78
78
  "typings": "index.d.ts",
79
- "version": "26.2.12",
79
+ "version": "26.2.14",
80
80
  "sideEffects": false
81
81
  }
@@ -878,9 +878,9 @@ var TreeGrid = /** @class */ (function (_super) {
878
878
  if (this.treeColumnIndex >= this.columns.length) {
879
879
  failureCases.push('TreeColumnIndex value should not exceed the total column count.');
880
880
  }
881
- if (this.enableVirtualization && (!/[0-9]$/.test(this.columnModel.filter(function (col) { return col.width; }).toString())
882
- && !/[px]$/.test(this.columnModel.filter(function (col) { return col.width; }).toString()))
883
- || (/[0-9]$/.test(this.height.toString()) && /[px]$/.test(this.height.toString()))) {
881
+ if (this.enableVirtualization &&
882
+ (this.columnModel.some(function (col) { return /%$/.test(col.width); }) ||
883
+ /%$/.test(this.height.toString()))) {
884
884
  failureCases.push('column width and height should be in pixels');
885
885
  }
886
886
  if ((this.childMapping !== 'Children') && !isNullOrUndefined(this.idMapping)) {