@syncfusion/ej2-treegrid
Advanced tools
Comparing version 18.4.41 to 18.4.42
@@ -7,4 +7,21 @@ # Changelog | ||
#### Bug Fixes | ||
- `#312347` - `selectRow` method works fine with Virtualization. | ||
- `#311453` - Expanding rows works fine when we enabled `frozenColumns` and `enableCollapseAll` property. | ||
## 18.4.41 (2021-02-02) | ||
### TreeGrid | ||
#### New Features | ||
- `#300136` - Provided support for tab like behaviour on navigating over the cells for Cell and Batch Editing. | ||
## 18.4.39 (2021-01-28) | ||
### TreeGrid | ||
#### New Features | ||
- `#280065` - Provided support to maintain Tree Grid state(expand/collapse) while on Exporting. | ||
@@ -11,0 +28,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 18.4.41 | ||
* version : 18.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@18.4.35", | ||
"_id": "@syncfusion/ej2-treegrid@18.4.41", | ||
"_inBundle": false, | ||
"_integrity": "sha512-vW4TAiyO9GI76WbeF4Eahly+RkdSp+WdE3U51W037E5eTgCtBEnWU9wgvcE5eI94aQluK8ByDAj9Jxskqg/+VQ==", | ||
"_integrity": "sha512-bgkFEneJcRbL+0Wsj+jFnKZKWKCqWeM/bt0dFL0kuSv8SfFKMmZgvs0lpHONaf/++XHdu2RD18qioHAXrGcYyA==", | ||
"_location": "/@syncfusion/ej2-treegrid", | ||
@@ -27,4 +27,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-treegrid/-/ej2-treegrid-18.4.35.tgz", | ||
"_shasum": "eaeadb189d97753804e13a9fb14a4007204ef2c1", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-treegrid/-/ej2-treegrid-18.4.41.tgz", | ||
"_shasum": "f47a7a9b551d9a82ced060f7dca740f89ed6a1f3", | ||
"_spec": "@syncfusion/ej2-treegrid@*", | ||
@@ -40,5 +40,5 @@ "_where": "/jenkins/workspace/automation_release_18.4.0.1-WOJ6QVY6EU5ONBWOYGQFKS2VU2UW7E67MOXUPKCE5AX7QQX7M5JQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~18.4.41", | ||
"@syncfusion/ej2-base": "~18.4.42", | ||
"@syncfusion/ej2-data": "~18.4.39", | ||
"@syncfusion/ej2-grids": "~18.4.41", | ||
"@syncfusion/ej2-grids": "~18.4.42", | ||
"@syncfusion/ej2-popups": "~18.4.41" | ||
@@ -65,4 +65,4 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "18.4.41", | ||
"version": "18.4.42", | ||
"sideEffects": false | ||
} |
@@ -370,5 +370,10 @@ import { Grid, Edit as GridEdit, getUid, getObject } from '@syncfusion/ej2-grids'; | ||
if (!this.parent.grid.isEdit && this.isOnBatch && this.keyPress === 'tab' && this.parent.editSettings.mode === 'Cell') { | ||
this.updateGridEditMode('Normal'); | ||
this.isOnBatch = false; | ||
this.keyPress = null; | ||
if (!this.parent.editSettings.allowNextRowEdit) { | ||
this.updateGridEditMode('Normal'); | ||
this.isOnBatch = false; | ||
this.keyPress = null; | ||
} | ||
else { | ||
this.enableToolbarItems('edit'); | ||
} | ||
} | ||
@@ -375,0 +380,0 @@ }; |
@@ -1494,2 +1494,3 @@ import { Component, ModuleDeclaration } from '@syncfusion/ej2-base'; | ||
expandRow(row: HTMLTableRowElement, record?: Object): void; | ||
private setHeightForFrozenContent; | ||
private getCollapseExpandRecords; | ||
@@ -1496,0 +1497,0 @@ /** |
@@ -79,2 +79,8 @@ import { ChildProperty, Property } from '@syncfusion/ej2-base';import { EditMode, RowPosition } from '../enum';import { IDialogUI } from '@syncfusion/ej2-grids'; | ||
/** | ||
* If `allowNextRowEdit` is set as true, editing is continued to next row with keyboard navigation. | ||
* @default false | ||
*/ | ||
allowNextRowEdit?: boolean; | ||
} |
@@ -69,2 +69,7 @@ import { ChildProperty } from '@syncfusion/ej2-base'; | ||
dialog: IDialogUI; | ||
/** | ||
* If `allowNextRowEdit` is set as true, editing is continued to next row with keyboard navigation. | ||
* @default false | ||
*/ | ||
allowNextRowEdit: boolean; | ||
} |
@@ -59,4 +59,7 @@ var __extends = (this && this.__extends) || (function () { | ||
], EditSettings.prototype, "dialog", void 0); | ||
__decorate([ | ||
Property(false) | ||
], EditSettings.prototype, "allowNextRowEdit", void 0); | ||
return EditSettings; | ||
}(ChildProperty)); | ||
export { EditSettings }; |
@@ -35,2 +35,5 @@ import { Column, NotifyArgs, SentinelType } from '@syncfusion/ej2-grids'; | ||
protected getTranslateY(sTop: number, cHeight: number, info?: VirtualInfo, isOnenter?: boolean): number; | ||
private dataBoundEvent; | ||
private rowSelectedEvent; | ||
private toSelectVirtualRow; | ||
private beginEdit; | ||
@@ -37,0 +40,0 @@ private beginAdd; |
@@ -95,2 +95,5 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
this.parent.addEventListener('dataBound', this.dataBoundEvent.bind(this)); | ||
this.parent.addEventListener('rowSelected', this.rowSelectedEvent.bind(this)); | ||
this.parent[action]('select-virtual-Row', this.toSelectVirtualRow, this); | ||
this.parent.on('content-ready', this.fn, this); | ||
@@ -149,2 +152,14 @@ this.parent.addEventListener(events.actionComplete, this.onActionComplete.bind(this)); | ||
}; | ||
VirtualTreeContentRenderer.prototype.dataBoundEvent = function () { | ||
var dataBoundEve = 'dataBound'; | ||
_super.prototype[dataBoundEve].call(this); | ||
}; | ||
VirtualTreeContentRenderer.prototype.rowSelectedEvent = function (args) { | ||
var rowSelected = 'rowSelected'; | ||
_super.prototype[rowSelected].call(this, args); | ||
}; | ||
VirtualTreeContentRenderer.prototype.toSelectVirtualRow = function (args) { | ||
var selectVirtualRow = 'selectVirtualRow'; | ||
_super.prototype[selectVirtualRow].call(this, args); | ||
}; | ||
VirtualTreeContentRenderer.prototype.beginEdit = function (e) { | ||
@@ -339,2 +354,5 @@ var selector = '.e-row[aria-rowindex="' + e.index + '"]'; | ||
this.parent.off('content-ready', this.fn); | ||
this.parent.off('select-virtual-Row', this.toSelectVirtualRow); | ||
this.parent.off('dataBound', this.dataBoundEvent); | ||
this.parent.off('rowSelected', this.rowSelectedEvent); | ||
this.parent.off(events.virtualActionArgs, this.virtualOtherAction); | ||
@@ -341,0 +359,0 @@ this.parent.off(events.indexModifier, this.indexModifier); |
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
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
5700815
47194