@syncfusion/ej2-treegrid
Advanced tools
Comparing version 19.4.41 to 19.4.42
@@ -5,2 +5,25 @@ # Changelog | ||
### Tree Grid | ||
#### Bug Fixes | ||
- `#SF-355817` - Resolved 'No records to display' issue while changing datasource when treeColumnIndex enabled for column template. | ||
## 19.4.41 (2022-01-04) | ||
### Tree Grid | ||
#### Bug Fixes | ||
- `#F171247` - Resolved first row hiding issue in iOS device while using virtualization. | ||
## 19.4.40 (2021-12-28) | ||
### Tree Grid | ||
#### Bug Fixes | ||
- `#I348232` - Resolved expanding and collapsing the records clearing the selection in checkbox selection while using virtualization. | ||
- `#I349138` - The expand / collapse state on excel exported file works fine. | ||
## 19.4.38 (2021-12-17) | ||
@@ -7,0 +30,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 19.4.41 | ||
* version : 19.4.42 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-treegrid@*", | ||
"_id": "@syncfusion/ej2-treegrid@19.4.38", | ||
"_id": "@syncfusion/ej2-treegrid@19.4.41", | ||
"_inBundle": false, | ||
"_integrity": "sha512-NwDwtzhLP8hC/gjz6VcKbRdeMwAhQTOgXsLPqwNOBrpn4GLKk5BTqejDBL7mXEMy1NUJO/uJayEaV10xFh+mLA==", | ||
"_integrity": "sha512-Q0BEZTlMhWTpuQFJfqWrPg2AFGZSr0o/r27/wnml/9aKsn/Gcp9hWrIKWn5/3+ADWfQiYkTQ+negKVenoXoqcA==", | ||
"_location": "/@syncfusion/ej2-treegrid", | ||
@@ -27,4 +27,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-19.4.38.tgz", | ||
"_shasum": "e86288528d767c8bdb8b1653b00b2651d1cabacf", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-19.4.41.tgz", | ||
"_shasum": "752b57c8545cdf6e5dba29d7270bef1d8a2d216c", | ||
"_spec": "@syncfusion/ej2-treegrid@*", | ||
@@ -40,5 +40,5 @@ "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~19.4.38", | ||
"@syncfusion/ej2-data": "~19.4.38", | ||
"@syncfusion/ej2-grids": "~19.4.41", | ||
"@syncfusion/ej2-base": "~19.4.42", | ||
"@syncfusion/ej2-data": "~19.4.42", | ||
"@syncfusion/ej2-grids": "~19.4.42", | ||
"@syncfusion/ej2-popups": "~19.4.41" | ||
@@ -65,4 +65,4 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "19.4.41", | ||
"version": "19.4.42", | ||
"sideEffects": false | ||
} |
@@ -173,5 +173,5 @@ import { getObject, Grid, ExcelExport as GridExcel } from '@syncfusion/ej2-grids'; | ||
var filtercolumnlength = this.parent.grid.filterSettings.columns.length; | ||
var rowlength = excelRow.excelRows.length; | ||
var rowlevel = excelrowobj.level; | ||
if (excelrowobj.parentItem && getParentData(this.parent, excelrowobj.parentItem.uniqueID, Boolean(filtercolumnlength))) { | ||
var rowlength = excelRow.excelRows.length; | ||
var rowlevel = excelrowobj.level; | ||
var expandedStatus = false; | ||
@@ -187,2 +187,5 @@ var sublevelState = false; | ||
} | ||
else if (excelrowobj.hasChildRecords && isNullOrUndefined(excelrowobj.parentItem)) { | ||
excelRow.excelRows[rowlength - 1].grouping = { outlineLevel: rowlevel }; | ||
} | ||
} | ||
@@ -189,0 +192,0 @@ }; |
@@ -87,3 +87,6 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
this.parent.grid.clearSelection(); | ||
if (this.parent.enableVirtualization && this.parent.selectionSettings.mode === 'Cell' || | ||
this.parent.selectionSettings.mode === 'Row' && !this.parent.selectionSettings.persistSelection) { | ||
this.parent.grid.clearSelection(); | ||
} | ||
var requestType = getValue('isCollapseAll', this.parent) ? 'collapseAll' : 'refresh'; | ||
@@ -90,0 +93,0 @@ getValue('grid.renderModule', this.parent).dataManagerSuccess(ret, { requestType: requestType }); |
@@ -41,6 +41,8 @@ var __extends = (this && this.__extends) || (function () { | ||
TreeVirtualRowModelGenerator.prototype.generateRows = function (data, notifyArgs) { | ||
if (!isNullOrUndefined(notifyArgs.virtualInfo) && notifyArgs.virtualInfo.loadNext && notifyArgs.virtualInfo.nextInfo.page !== this.parent.pageSettings.currentPage) { | ||
if (!isNullOrUndefined(notifyArgs.virtualInfo) && notifyArgs.virtualInfo.loadNext && | ||
notifyArgs.virtualInfo.nextInfo.page !== this.parent.pageSettings.currentPage) { | ||
this.parent.setProperties({ pageSettings: { currentPage: notifyArgs.virtualInfo.nextInfo.page } }, true); | ||
} | ||
else if (!isNullOrUndefined(notifyArgs.virtualInfo) && !notifyArgs.virtualInfo.loadNext && notifyArgs.virtualInfo.page !== this.parent.pageSettings.currentPage) { | ||
else if (!isNullOrUndefined(notifyArgs.virtualInfo) && !notifyArgs.virtualInfo.loadNext && | ||
notifyArgs.virtualInfo.page !== this.parent.pageSettings.currentPage) { | ||
this.parent.setProperties({ pageSettings: { currentPage: notifyArgs.virtualInfo.page } }, true); | ||
@@ -47,0 +49,0 @@ } |
@@ -428,2 +428,3 @@ var __extends = (this && this.__extends) || (function () { | ||
if (!this.isExpandCollapse || this.translateY === 0) { | ||
this.translateY = this.translateY < 0 ? 0 : this.translateY; | ||
getValue('virtualEle', this).adjustTable(cOffset, this.translateY); | ||
@@ -430,0 +431,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6649816
58358