@syncfusion/ej2-treegrid
Advanced tools
Comparing version 18.3.42 to 18.3.44
@@ -9,2 +9,11 @@ # Changelog | ||
- `#F157882`- After editing the row using `updateRow` method, `getCurrentViewRecords` method updated properly. | ||
- `#297986` - Row Drag and drop within treegrid works fine with checkbox enabled. | ||
## 18.3.42 (2020-10-20) | ||
### TreeGrid | ||
#### Bug Fixes | ||
- `#F157882`- When editing with a double click, it works fine when we only have one record. | ||
@@ -11,0 +20,0 @@ - `#289600` - Records get expanded properly after collapsing all records using `collapseAtLevel` method in observable binding. |
/*! | ||
* filename: index.d.ts | ||
* version : 18.3.42 | ||
* version : 18.3.44 | ||
* 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@18.3.40", | ||
"_id": "@syncfusion/ej2-treegrid@18.3.42", | ||
"_inBundle": false, | ||
"_integrity": "sha512-loprw0rqCsCB8DsZpz25WdNRHJFuj8ylWLtv4QautJKqNaHc8++SowIkqFyykFPEKskrTiRqPSo4PTjvapL4WA==", | ||
"_integrity": "sha512-sS1HnNVdzEjlFauHVWQeVqhuSN+JkzV4n5f7+dRQ8jceB5OfHQHhoZRGMW9/5D6Xl3Mvl2wU6syv6wqmO3PAvQ==", | ||
"_location": "/@syncfusion/ej2-treegrid", | ||
@@ -27,4 +27,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-treegrid/-/ej2-treegrid-18.3.40.tgz", | ||
"_shasum": "e5a1328ec7aeff1a60e50c24416c87d1823c45e5", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-treegrid/-/ej2-treegrid-18.3.42.tgz", | ||
"_shasum": "c3373c692355de23a704edb388815bd0970bb00b", | ||
"_spec": "@syncfusion/ej2-treegrid@*", | ||
@@ -40,5 +40,5 @@ "_where": "/jenkins/workspace/automation_release_18.1.0.1-52JLNOGRCDHXRVQM3W564VPLFCPHWUYDYU3I3DVRABSR7F6AIFYQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~18.3.40", | ||
"@syncfusion/ej2-base": "~18.3.44", | ||
"@syncfusion/ej2-data": "~18.3.42", | ||
"@syncfusion/ej2-grids": "~18.3.42", | ||
"@syncfusion/ej2-grids": "~18.3.44", | ||
"@syncfusion/ej2-popups": "~18.3.35" | ||
@@ -65,4 +65,4 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "18.3.42", | ||
"version": "18.3.44", | ||
"sideEffects": false | ||
} |
@@ -187,2 +187,7 @@ import { isNullOrUndefined, extend, getValue } from '@syncfusion/ej2-base'; | ||
editedData[keys[i]] = editedData.taskData[keys[i]] = childRecords[j][keys[i]] = modifiedData[keys[i]]; | ||
if (control.editSettings.mode === 'Cell') { | ||
var editModule = 'editModule'; | ||
control.grid.editModule[editModule].editRowIndex = modifiedData.index; | ||
control.grid.editModule[editModule].updateCurrentViewData(modifiedData); | ||
} | ||
} | ||
@@ -189,0 +194,0 @@ } |
@@ -658,2 +658,10 @@ import { Grid, RowDD as GridDragDrop, parentsUntil } from '@syncfusion/ej2-grids'; | ||
} | ||
if (this.draggedRecord === this.droppedRecord) { | ||
var correctIndex = this.getTargetIdx(args.target.offsetParent.parentElement); | ||
if (isNaN(correctIndex)) { | ||
correctIndex = this.getTargetIdx(args.target.parentElement); | ||
} | ||
recordIndex = args.dropIndex = correctIndex; | ||
droppedRecord = this.droppedRecord = this.parent.getCurrentViewRecords()[args.dropIndex]; | ||
} | ||
var recordIndex1 = this.treeGridData.indexOf(droppedRecord); | ||
@@ -660,0 +668,0 @@ this.dropAtTop(recordIndex1, isSelfReference, i); |
@@ -83,2 +83,3 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
this.parent.grid.clearSelection(); | ||
var requestType = getValue('isCollapseAll', this.parent) ? 'collapseAll' : 'refresh'; | ||
@@ -85,0 +86,0 @@ getValue('grid.renderModule', this.parent).dataManagerSuccess(ret, { requestType: requestType }); |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5530970
46236