@syncfusion/ej2-gantt 19.4.38 → 19.4.40
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.
- package/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/dist/ej2-gantt.umd.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +7 -4
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +7 -4
- package/dist/es6/ej2-gantt.es5.js.map +1 -1
- package/dist/global/ej2-gantt.min.js +2 -2
- package/dist/global/ej2-gantt.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +10 -10
- package/src/gantt/actions/dialog-edit.js +1 -1
- package/src/gantt/actions/edit.js +1 -1
- package/src/gantt/actions/keyboard.js +2 -2
- package/src/gantt/base/tree-grid.js +3 -0
- package/styles/bootstrap5-dark.css +1 -0
- package/styles/bootstrap5.css +1 -0
- package/styles/fabric-dark.css +1 -1
- package/styles/gantt/_fabric-dark-definition.scss +2 -1
- package/styles/gantt/_layout.scss +6 -1
- package/styles/gantt/_material-dark-definition.scss +2 -1
- package/styles/gantt/bootstrap5-dark.css +1 -0
- package/styles/gantt/bootstrap5.css +1 -0
- package/styles/gantt/fabric-dark.css +1 -1
- package/styles/gantt/material-dark.css +1 -1
- package/styles/material-dark.css +1 -1
|
@@ -6905,6 +6905,9 @@ class GanttTreeGrid {
|
|
|
6905
6905
|
if (getValue('requestType', args) === 'refresh' && isNullOrUndefined(getValue('type', args)) && this.parent.addDeleteRecord) {
|
|
6906
6906
|
if (this.parent.selectedRowIndex != -1) {
|
|
6907
6907
|
this.parent.selectRow(this.parent.selectedRowIndex);
|
|
6908
|
+
if (this.parent.selectedRowIndex > this.parent.currentViewData.length - 1) {
|
|
6909
|
+
this.parent.selectedRowIndex = -1;
|
|
6910
|
+
}
|
|
6908
6911
|
}
|
|
6909
6912
|
else {
|
|
6910
6913
|
this.parent.selectRow(0);
|
|
@@ -11831,9 +11834,9 @@ class FocusModule {
|
|
|
11831
11834
|
{
|
|
11832
11835
|
if (isNullOrUndefined(document.getElementById(this.parent.element.id + '_dialog'))) {
|
|
11833
11836
|
e.preventDefault();
|
|
11834
|
-
const focussedElement = ganttObj.element.querySelector('.e-gantt-chart');
|
|
11835
|
-
focussedElement.focus();
|
|
11836
11837
|
ganttObj.addRecord();
|
|
11838
|
+
const focussedElement = ganttObj.element;
|
|
11839
|
+
focussedElement.focus();
|
|
11837
11840
|
}
|
|
11838
11841
|
break;
|
|
11839
11842
|
}
|
|
@@ -18935,7 +18938,7 @@ class DialogEdit {
|
|
|
18935
18938
|
inputValue = dialog.querySelector('#' + ganttId + 'SegmentsTabContainer' + columnName)
|
|
18936
18939
|
.ej2_instances[0];
|
|
18937
18940
|
}
|
|
18938
|
-
if (inputValue.value !== tempValue.toString()) {
|
|
18941
|
+
if (inputValue.value.toString() !== tempValue.toString()) {
|
|
18939
18942
|
inputValue.value = tempValue;
|
|
18940
18943
|
inputValue.dataBind();
|
|
18941
18944
|
}
|
|
@@ -21521,7 +21524,7 @@ class Edit$2 {
|
|
|
21521
21524
|
this.updateParentItemOnEditing();
|
|
21522
21525
|
}
|
|
21523
21526
|
/** Update parent up-to zeroth level */
|
|
21524
|
-
if (ganttRecord.parentItem
|
|
21527
|
+
if (ganttRecord.parentItem) {
|
|
21525
21528
|
this.parent.dataOperation.updateParentItems(ganttRecord, true);
|
|
21526
21529
|
}
|
|
21527
21530
|
this.initiateSaveAction(args);
|