@syncfusion/ej2-treegrid 20.2.49 → 20.3.48
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 +3 -53
- package/dist/ej2-treegrid.min.js +10 -0
- package/dist/ej2-treegrid.umd.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js.map +1 -1
- package/dist/es6/ej2-treegrid.es2015.js +376 -57
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +405 -62
- package/dist/es6/ej2-treegrid.es5.js.map +1 -1
- package/dist/global/ej2-treegrid.min.js +2 -2
- package/dist/global/ej2-treegrid.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +10 -10
- package/src/treegrid/actions/clipboard.d.ts +3 -2
- package/src/treegrid/actions/clipboard.js +3 -2
- package/src/treegrid/actions/context-menu.js +1 -1
- package/src/treegrid/actions/crud-actions.js +4 -0
- package/src/treegrid/actions/edit.js +33 -6
- package/src/treegrid/actions/freeze-column.d.ts +1 -0
- package/src/treegrid/actions/freeze-column.js +39 -3
- package/src/treegrid/actions/rowdragdrop.js +8 -5
- package/src/treegrid/actions/selection.js +2 -2
- package/src/treegrid/actions/virtual-scroll.js +7 -4
- package/src/treegrid/base/constant.d.ts +28 -0
- package/src/treegrid/base/constant.js +28 -0
- package/src/treegrid/base/data.d.ts +1 -0
- package/src/treegrid/base/data.js +3 -2
- package/src/treegrid/base/treegrid-model.d.ts +1 -1
- package/src/treegrid/base/treegrid.d.ts +2 -0
- package/src/treegrid/base/treegrid.js +33 -9
- package/src/treegrid/renderer/virtual-row-model-generator.js +4 -0
- package/src/treegrid/renderer/virtual-tree-content-render.d.ts +3 -0
- package/src/treegrid/renderer/virtual-tree-content-render.js +68 -9
- package/src/treegrid/renderer/virtual-tree-freeze-render.d.ts +59 -0
- package/src/treegrid/renderer/virtual-tree-freeze-render.js +163 -0
- package/styles/bootstrap-dark.css +5 -1
- package/styles/bootstrap.css +5 -1
- package/styles/bootstrap4.css +5 -1
- package/styles/bootstrap5-dark.css +7 -2
- package/styles/bootstrap5.css +7 -2
- package/styles/fabric-dark.css +5 -1
- package/styles/fabric.css +5 -1
- package/styles/fluent-dark.css +6 -2
- package/styles/fluent.css +6 -2
- package/styles/highcontrast-light.css +5 -1
- package/styles/highcontrast.css +5 -1
- package/styles/material-dark.css +5 -1
- package/styles/material.css +5 -1
- package/styles/tailwind-dark.css +5 -1
- package/styles/tailwind.css +5 -1
- package/styles/treegrid/_all.scss +1 -1
- package/styles/treegrid/_bootstrap-dark-definition.scss +1 -1
- package/styles/treegrid/_bootstrap-definition.scss +1 -2
- package/styles/treegrid/_bootstrap4-definition.scss +0 -1
- package/styles/treegrid/_bootstrap5-definition.scss +0 -1
- package/styles/treegrid/_fabric-dark-definition.scss +1 -2
- package/styles/treegrid/_fabric-definition.scss +1 -2
- package/styles/treegrid/_fluent-definition.scss +0 -1
- package/styles/treegrid/_fusionnew-definition.scss +0 -1
- package/styles/treegrid/_highcontrast-definition.scss +0 -1
- package/styles/treegrid/_highcontrast-light-definition.scss +0 -2
- package/styles/treegrid/_icons.scss +1 -1
- package/styles/treegrid/_layout.scss +4 -4
- package/styles/treegrid/_material-definition.scss +0 -1
- package/styles/treegrid/_material3-definition.scss +0 -1
- package/styles/treegrid/_tailwind-definition.scss +0 -1
- package/styles/treegrid/_theme.scss +1 -0
- package/styles/treegrid/bootstrap-dark.css +5 -1
- package/styles/treegrid/bootstrap.css +5 -1
- package/styles/treegrid/bootstrap4.css +5 -1
- package/styles/treegrid/bootstrap5-dark.css +7 -2
- package/styles/treegrid/bootstrap5.css +7 -2
- package/styles/treegrid/fabric-dark.css +5 -1
- package/styles/treegrid/fabric.css +5 -1
- package/styles/treegrid/fluent-dark.css +6 -2
- package/styles/treegrid/fluent.css +6 -2
- package/styles/treegrid/highcontrast-light.css +5 -1
- package/styles/treegrid/highcontrast.css +5 -1
- package/styles/treegrid/icons/_bootstrap-dark.scss +1 -1
- package/styles/treegrid/icons/_bootstrap.scss +1 -1
- package/styles/treegrid/icons/_bootstrap4.scss +1 -1
- package/styles/treegrid/icons/_fabric-dark.scss +1 -1
- package/styles/treegrid/icons/_fabric.scss +1 -1
- package/styles/treegrid/icons/_highcontrast-light.scss +1 -1
- package/styles/treegrid/icons/_material-dark.scss +1 -1
- package/styles/treegrid/material-dark.css +5 -1
- package/styles/treegrid/material.css +5 -1
- package/styles/treegrid/tailwind-dark.css +5 -1
- package/styles/treegrid/tailwind.css +5 -1
|
@@ -47,6 +47,7 @@ import { SortSettings } from '../models/sort-settings';
|
|
|
47
47
|
import { isHidden, getExpandStatus } from '../utils';
|
|
48
48
|
import { editAction } from '../actions/crud-actions';
|
|
49
49
|
import { InfiniteScrollSettings } from '../models/infinite-scroll-settings';
|
|
50
|
+
import * as literals from '../base/constant';
|
|
50
51
|
/**
|
|
51
52
|
* Represents the TreeGrid component.
|
|
52
53
|
* ```html
|
|
@@ -355,6 +356,7 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
355
356
|
TreeGrid.prototype.initProperties = function () {
|
|
356
357
|
this.defaultLocale = {};
|
|
357
358
|
this.flatData = [];
|
|
359
|
+
this.infiniteScrollData = [];
|
|
358
360
|
this.parentData = [];
|
|
359
361
|
this.columnModel = [];
|
|
360
362
|
this.isExpandAll = false;
|
|
@@ -646,7 +648,7 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
646
648
|
if (!isNullOrUndefined(this.grid.clipboardModule)) {
|
|
647
649
|
this.grid.clipboardModule.destroy();
|
|
648
650
|
}
|
|
649
|
-
this.clipboardModule = this.grid.clipboardModule = new TreeClipboard(this);
|
|
651
|
+
this.clipboardModule = this.grid.clipboardModule = new TreeClipboard(this, this.grid.serviceLocator);
|
|
650
652
|
};
|
|
651
653
|
TreeGrid.prototype.convertTreeData = function (data) {
|
|
652
654
|
var _this = this;
|
|
@@ -739,13 +741,19 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
739
741
|
this.grid[templateInstance] = this[templateInstance];
|
|
740
742
|
var isJsComponent = 'isJsComponent';
|
|
741
743
|
this.grid[isJsComponent] = true;
|
|
744
|
+
this.grid.enableVirtualMaskRow = false; // Need to update in virtual mask row feature implementation.
|
|
742
745
|
};
|
|
743
746
|
TreeGrid.prototype.triggerEvents = function (args) {
|
|
744
747
|
this.trigger(getObject('name', args), args);
|
|
745
748
|
};
|
|
746
749
|
TreeGrid.prototype.IsExpandCollapseClicked = function (args) {
|
|
747
|
-
if (!isNullOrUndefined(args.target) && (args.target.classList.contains('e-treegridexpand')
|
|
748
|
-
|| args.target.classList.contains('e-treegridcollapse') || args.target.classList.contains('e-summarycell'))) {
|
|
750
|
+
if (args['name'] === 'rowSelecting' && !isNullOrUndefined(args.target) && (args.target.classList.contains('e-treegridexpand')
|
|
751
|
+
|| args.target.classList.contains('e-treegridcollapse') || args.target.classList.contains('e-summarycell')) && (isNullOrUndefined(args['previousRowIndex']))) {
|
|
752
|
+
args.cancel = true;
|
|
753
|
+
return;
|
|
754
|
+
}
|
|
755
|
+
else if (args['name'] === 'rowDeselecting' && !isNullOrUndefined(args.target) && ((!isNullOrUndefined(args.row) && (!args.row.length)) && (args.target.classList.contains('e-treegridexpand')
|
|
756
|
+
|| args.target.classList.contains('e-treegridcollapse') || args.target.classList.contains('e-summarycell')))) {
|
|
749
757
|
args.cancel = true;
|
|
750
758
|
return;
|
|
751
759
|
}
|
|
@@ -802,7 +810,6 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
802
810
|
this.grid.pdfHeaderQueryCellInfo = this.triggerEvents.bind(this);
|
|
803
811
|
this.grid.dataSourceChanged = this.triggerEvents.bind(this);
|
|
804
812
|
this.grid.recordDoubleClick = this.triggerEvents.bind(this);
|
|
805
|
-
this.grid.rowDeselecting = this.triggerEvents.bind(this);
|
|
806
813
|
this.grid.cellDeselected = this.triggerEvents.bind(this);
|
|
807
814
|
this.grid.cellDeselecting = this.triggerEvents.bind(this);
|
|
808
815
|
this.grid.columnMenuOpen = this.triggerEvents.bind(this);
|
|
@@ -983,6 +990,9 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
983
990
|
_this.grid.dataSource = { result: _this.flatData, count: getValue('count', _this.grid.dataSource) };
|
|
984
991
|
}
|
|
985
992
|
else {
|
|
993
|
+
if (args.action.requestType !== 'infiniteScroll') {
|
|
994
|
+
_this.infiniteScrollData = [];
|
|
995
|
+
}
|
|
986
996
|
_this.trigger(events.dataStateChange, args);
|
|
987
997
|
}
|
|
988
998
|
};
|
|
@@ -1161,6 +1171,11 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
1161
1171
|
_this.selectedRecords = _this.selectedRows = _this.modifiedRecords = [];
|
|
1162
1172
|
}
|
|
1163
1173
|
else {
|
|
1174
|
+
if (_this.grid.isFrozenGrid() && _this.enableVirtualization && args['tableName'] === 'movable') {
|
|
1175
|
+
var movableContent = _this.grid.element.querySelector('.' + literals.movableContent);
|
|
1176
|
+
var frozenContent = _this.grid.element.querySelector('.' + literals.frozenContent);
|
|
1177
|
+
movableContent.style.height = frozenContent.style.height = 'auto';
|
|
1178
|
+
}
|
|
1164
1179
|
_this.trigger(events.actionComplete, args);
|
|
1165
1180
|
}
|
|
1166
1181
|
};
|
|
@@ -2482,16 +2497,20 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
2482
2497
|
}
|
|
2483
2498
|
}
|
|
2484
2499
|
else {
|
|
2485
|
-
var
|
|
2486
|
-
var record =
|
|
2500
|
+
var rowInfo_1 = this.grid.getRowInfo(target);
|
|
2501
|
+
var record = rowInfo_1.rowData;
|
|
2502
|
+
if (this.grid.isFrozenGrid() && this.enableVirtualization && !Object.keys(record).length) {
|
|
2503
|
+
var freezeRows = 'freezeRows';
|
|
2504
|
+
record = this.grid.contentModule[freezeRows].filter(function (e) { return e.uid === rowInfo_1.row.getAttribute('data-uid'); })[0].data;
|
|
2505
|
+
}
|
|
2487
2506
|
if (this.enableImmutableMode) {
|
|
2488
|
-
record = this.getCurrentViewRecords()[
|
|
2507
|
+
record = this.getCurrentViewRecords()[rowInfo_1.rowIndex];
|
|
2489
2508
|
}
|
|
2490
2509
|
if (target.classList.contains('e-treegridexpand')) {
|
|
2491
|
-
this.collapseRow(
|
|
2510
|
+
this.collapseRow(rowInfo_1.row, record);
|
|
2492
2511
|
}
|
|
2493
2512
|
else {
|
|
2494
|
-
this.expandRow(
|
|
2513
|
+
this.expandRow(rowInfo_1.row, record);
|
|
2495
2514
|
}
|
|
2496
2515
|
}
|
|
2497
2516
|
};
|
|
@@ -2926,6 +2945,7 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
2926
2945
|
this.trigger(events.dataStateChange, expandingArgs);
|
|
2927
2946
|
deff.promise.then(function () {
|
|
2928
2947
|
if (expandingArgs.childData.length) {
|
|
2948
|
+
_this.flatData = _this.infiniteScrollData;
|
|
2929
2949
|
var currentData = (_this.flatData);
|
|
2930
2950
|
var index = 0;
|
|
2931
2951
|
for (var i = 0; i < currentData.length; i++) {
|
|
@@ -2975,8 +2995,12 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
2975
2995
|
}
|
|
2976
2996
|
}
|
|
2977
2997
|
_this.isExpandRefresh = true;
|
|
2998
|
+
var scrollHeightBeforeRefresh = _this.getContentTable().parentElement.scrollTop;
|
|
2978
2999
|
_this.grid.refresh();
|
|
2979
3000
|
_this.setHeightForFrozenContent();
|
|
3001
|
+
if (_this.enableInfiniteScrolling) {
|
|
3002
|
+
_this.getContentTable().parentElement.scrollTop = scrollHeightBeforeRefresh;
|
|
3003
|
+
}
|
|
2980
3004
|
_this.trigger(events.expanded, expandingArgs);
|
|
2981
3005
|
});
|
|
2982
3006
|
};
|
|
@@ -79,6 +79,8 @@ var TreeVirtualRowModelGenerator = /** @class */ (function (_super) {
|
|
|
79
79
|
var currentPage = this[model].currentPage;
|
|
80
80
|
if (clear) {
|
|
81
81
|
this.cache = {};
|
|
82
|
+
this.movableCache = {};
|
|
83
|
+
this.frozenRightCache = {};
|
|
82
84
|
this.data = {};
|
|
83
85
|
this.groups = {};
|
|
84
86
|
}
|
|
@@ -92,6 +94,8 @@ var TreeVirtualRowModelGenerator = /** @class */ (function (_super) {
|
|
|
92
94
|
this.cache = {};
|
|
93
95
|
this.data = {};
|
|
94
96
|
this.groups = {};
|
|
97
|
+
this.movableCache = {};
|
|
98
|
+
this.frozenRightCache = {};
|
|
95
99
|
}
|
|
96
100
|
}
|
|
97
101
|
return clear;
|
|
@@ -25,6 +25,9 @@ export declare class VirtualTreeContentRenderer extends VirtualContentRenderer {
|
|
|
25
25
|
/** @hidden */
|
|
26
26
|
isDataSourceChanged: boolean;
|
|
27
27
|
getRowByIndex(index: number): Element;
|
|
28
|
+
getMovableVirtualRowByIndex(index: number): Element;
|
|
29
|
+
getFrozenRightVirtualRowByIndex(index: number): Element;
|
|
30
|
+
getRowCollection(index: number, isMovable: boolean, isRowObject?: boolean, isFrozenRight?: boolean): Element | Object;
|
|
28
31
|
addEventListener(): void;
|
|
29
32
|
private virtualOtherAction;
|
|
30
33
|
private indexModifier;
|
|
@@ -13,6 +13,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
13
13
|
})();
|
|
14
14
|
import { Cell, CellType } from '@syncfusion/ej2-grids';
|
|
15
15
|
import { VirtualContentRenderer } from '@syncfusion/ej2-grids';
|
|
16
|
+
import * as literals from '../base/constant';
|
|
16
17
|
import { InterSectionObserver } from '@syncfusion/ej2-grids';
|
|
17
18
|
import { TreeVirtualRowModelGenerator } from '../renderer/virtual-row-model-generator';
|
|
18
19
|
import * as events from '../base/constant';
|
|
@@ -43,6 +44,29 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
43
44
|
VirtualTreeContentRenderer.prototype.getRowByIndex = function (index) {
|
|
44
45
|
return this.parent.getDataRows().filter(function (e) { return parseInt(e.getAttribute('data-rowindex'), 10) === index; })[0];
|
|
45
46
|
};
|
|
47
|
+
VirtualTreeContentRenderer.prototype.getMovableVirtualRowByIndex = function (index) {
|
|
48
|
+
return this.getRowCollection(index, true);
|
|
49
|
+
};
|
|
50
|
+
VirtualTreeContentRenderer.prototype.getFrozenRightVirtualRowByIndex = function (index) {
|
|
51
|
+
return this.getRowCollection(index, false, false, true);
|
|
52
|
+
};
|
|
53
|
+
VirtualTreeContentRenderer.prototype.getRowCollection = function (index, isMovable, isRowObject, isFrozenRight) {
|
|
54
|
+
var startIdx = parseInt(this.parent.getRows()[0].getAttribute(literals.dataRowIndex), 10);
|
|
55
|
+
var rowCollection = isMovable ? this.parent.getMovableDataRows() : this.parent.getDataRows();
|
|
56
|
+
rowCollection = isFrozenRight ? this.parent.getFrozenRightDataRows() : rowCollection;
|
|
57
|
+
var collection = isRowObject ? this.parent.getCurrentViewRecords() : rowCollection;
|
|
58
|
+
var selectedRow = collection[index - startIdx];
|
|
59
|
+
if (this.parent.frozenRows && this.parent.pageSettings.currentPage > 1) {
|
|
60
|
+
if (!isRowObject) {
|
|
61
|
+
selectedRow = index <= this.parent.frozenRows ? rowCollection[index]
|
|
62
|
+
: rowCollection[(index - startIdx) + this.parent.frozenRows];
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
selectedRow = index <= this.parent.frozenRows ? this.parent.getRowsObject()[index].data : selectedRow;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return selectedRow;
|
|
69
|
+
};
|
|
46
70
|
VirtualTreeContentRenderer.prototype.addEventListener = function () {
|
|
47
71
|
this.parent.on(events.virtualActionArgs, this.virtualOtherAction, this);
|
|
48
72
|
this.parent.on(events.indexModifier, this.indexModifier, this);
|
|
@@ -70,7 +94,7 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
70
94
|
this.startIndex = lastIndex - this.parent.getRows().length;
|
|
71
95
|
this.endIndex = lastIndex;
|
|
72
96
|
}
|
|
73
|
-
else {
|
|
97
|
+
else if (this.parent.root.editSettings.newRowPosition !== 'Top' && this.parent.root.editModule.selectedIndex !== -1 || this.parent.root.editModule.selectedIndex !== -1) {
|
|
74
98
|
this.startIndex += 1;
|
|
75
99
|
this.endIndex += 1;
|
|
76
100
|
}
|
|
@@ -122,7 +146,15 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
122
146
|
&& this.parent.dataSource.dataSource.offline && this.parent.dataSource.dataSource.url !== '') || !isCountRequired(this.parent)) {
|
|
123
147
|
if (!isNullOrUndefined(e.count)) {
|
|
124
148
|
this.totalRecords = e.count;
|
|
125
|
-
|
|
149
|
+
// To overcome the white space issue in last page when records collapsed
|
|
150
|
+
if (this.parent.isFrozenGrid() && e.count < Object.keys(this.parent.dataSource).length) {
|
|
151
|
+
var width = this.parent.enableColumnVirtualization ?
|
|
152
|
+
this.getColumnOffset(this.parent.columns.length - 1) + 'px' : '100%';
|
|
153
|
+
var height = (this.parent.getRowHeight() * e.count) -
|
|
154
|
+
(this.parent.getRowHeight() * this.parent.pageSettings.pageSize);
|
|
155
|
+
getValue('virtualEle', this).setVirtualHeight(height, width);
|
|
156
|
+
}
|
|
157
|
+
if (!this.parent.enableColumnVirtualization && !this.parent.isFrozenGrid()) {
|
|
126
158
|
getValue('virtualEle', this).setVirtualHeight(this.parent.getRowHeight() * e.count, '100%');
|
|
127
159
|
}
|
|
128
160
|
}
|
|
@@ -220,6 +252,7 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
220
252
|
return new Cell(opt);
|
|
221
253
|
};
|
|
222
254
|
VirtualTreeContentRenderer.prototype.beginEdit = function (e) {
|
|
255
|
+
this['editedRowIndex'] = e.index;
|
|
223
256
|
var selector = '.e-row[data-rowindex="' + e.index + '"]';
|
|
224
257
|
var index = this.parent.getContent().querySelector(selector).rowIndex;
|
|
225
258
|
var rowData = this.parent.getCurrentViewRecords()[index];
|
|
@@ -277,7 +310,7 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
277
310
|
var content = this.parent.getContent().querySelector('.e-content');
|
|
278
311
|
if (this[isAdd] && !content.querySelector('.e-addedrow')) {
|
|
279
312
|
this.parent.isEdit = false;
|
|
280
|
-
this.parent.addRecord();
|
|
313
|
+
this.parent.editModule.addRecord(null, this.parent.root.editModule.selectedIndex);
|
|
281
314
|
}
|
|
282
315
|
};
|
|
283
316
|
VirtualTreeContentRenderer.prototype.getData = function (data) {
|
|
@@ -290,7 +323,7 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
290
323
|
this.parent.notify('get-row-position', addArgs);
|
|
291
324
|
this.rowPosition = addArgs.newRowPosition;
|
|
292
325
|
this.addRowIndex = addArgs.addRowIndex;
|
|
293
|
-
this.dataRowIndex =
|
|
326
|
+
this.dataRowIndex = this.parent.root.editModule.selectedIndex;
|
|
294
327
|
}
|
|
295
328
|
var actionComplete = 'actionComplete';
|
|
296
329
|
_super.prototype[actionComplete].call(this, args);
|
|
@@ -312,14 +345,17 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
312
345
|
var maxLeft = _this.vgenerator.cOffsets[idx - 1];
|
|
313
346
|
x = x > maxLeft ? maxLeft : x; //TODO: This fix horizontal scrollbar jumping issue in column virtualization.
|
|
314
347
|
}
|
|
315
|
-
_this.
|
|
316
|
-
|
|
317
|
-
_this.
|
|
348
|
+
if (!_this.parent.isFrozenGrid()) {
|
|
349
|
+
_this.virtualEle.adjustTable(x, _this.translateY);
|
|
350
|
+
if (_this.parent.enableColumnVirtualization) {
|
|
351
|
+
_this.header.virtualEle.adjustTable(x, 0);
|
|
352
|
+
}
|
|
318
353
|
}
|
|
319
354
|
}
|
|
320
355
|
};
|
|
321
356
|
};
|
|
322
357
|
VirtualTreeContentRenderer.prototype.scrollListeners = function (scrollArgs) {
|
|
358
|
+
this['scrollAfterEdit']();
|
|
323
359
|
var info = scrollArgs.sentinel;
|
|
324
360
|
var outBuffer = this.parent.pageSettings.pageSize - Math.ceil(this.parent.pageSettings.pageSize / 2);
|
|
325
361
|
var content = this.parent.getContent().querySelector('.e-content');
|
|
@@ -347,7 +383,8 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
347
383
|
this.endIndex = lastInx;
|
|
348
384
|
this.startIndex = (this.startIndex - remains) < 0 ? 0 : (this.startIndex - remains);
|
|
349
385
|
}
|
|
350
|
-
if (currentViewData.length && (
|
|
386
|
+
if (currentViewData.length && (currentViewData[0][indexValue] >= this.parent.pageSettings.pageSize / 2) &&
|
|
387
|
+
((currentViewData[0][indexValue] - this.startIndex) < (this.parent.pageSettings.pageSize / 2))) {
|
|
351
388
|
this.startIndex = currentViewData[0][indexValue] - (this.parent.pageSettings.pageSize / 2);
|
|
352
389
|
this.endIndex = this.startIndex + this.parent.pageSettings.pageSize;
|
|
353
390
|
}
|
|
@@ -412,6 +449,7 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
412
449
|
this.parent.setColumnIndexesInView(this.parent.enableColumnVirtualization ? viewInfo.columnIndexes : []);
|
|
413
450
|
var page = viewInfo.loadNext && !viewInfo.loadSelf ? viewInfo.nextInfo.page : viewInfo.page;
|
|
414
451
|
this.parent.setProperties({ pageSettings: { currentPage: page } }, true);
|
|
452
|
+
this.requestType = 'virtualscroll';
|
|
415
453
|
if (scrollArgs.direction !== 'right' && scrollArgs.direction !== 'left') {
|
|
416
454
|
viewInfo.event = viewInfo.event === 'refresh-virtual-block' ? 'model-changed' : viewInfo.event;
|
|
417
455
|
}
|
|
@@ -419,12 +457,28 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
419
457
|
}
|
|
420
458
|
};
|
|
421
459
|
VirtualTreeContentRenderer.prototype.appendContent = function (target, newChild, e) {
|
|
460
|
+
var isFrozen = this.parent.isFrozenGrid();
|
|
422
461
|
if ((this.parent.dataSource instanceof DataManager && this.parent.dataSource.dataSource.url !== undefined
|
|
423
|
-
&& !this.parent.dataSource.dataSource.offline && this.parent.dataSource.dataSource.url !== '') || isCountRequired(this.parent)) {
|
|
462
|
+
&& !this.parent.dataSource.dataSource.offline && this.parent.dataSource.dataSource.url !== '') || isCountRequired(this.parent) || this.parent.isFrozenGrid()) {
|
|
424
463
|
if (getValue('isExpandCollapse', e)) {
|
|
425
464
|
this.isRemoteExpand = true;
|
|
426
465
|
}
|
|
466
|
+
if (isFrozen && isNullOrUndefined(this.requestType) && getValue('requestTypes', this).indexOf('isFrozen') === -1) {
|
|
467
|
+
getValue('requestTypes', this).push('isFrozen');
|
|
468
|
+
this.requestType = 'isFrozen';
|
|
469
|
+
}
|
|
427
470
|
_super.prototype.appendContent.call(this, target, newChild, e);
|
|
471
|
+
if (getValue('requestTypes', this).indexOf('isFrozen') !== -1) {
|
|
472
|
+
getValue('requestTypes', this).splice(getValue('requestTypes', this).indexOf('isFrozen'), 1);
|
|
473
|
+
this.requestType = this.requestType === 'isFrozen' ? undefined : this.requestType;
|
|
474
|
+
}
|
|
475
|
+
if (isFrozen && (!this.isExpandCollapse || this.translateY === 0)) {
|
|
476
|
+
this.translateY = this.translateY < 0 ? 0 : this.translateY;
|
|
477
|
+
getValue('virtualEle', this).adjustTable(0, this.translateY);
|
|
478
|
+
}
|
|
479
|
+
else {
|
|
480
|
+
this.isExpandCollapse = false;
|
|
481
|
+
}
|
|
428
482
|
}
|
|
429
483
|
else {
|
|
430
484
|
var info = e.virtualInfo.sentinelInfo && e.virtualInfo.sentinelInfo.axis === 'Y' &&
|
|
@@ -514,6 +568,11 @@ var TreeInterSectionObserver = /** @class */ (function (_super) {
|
|
|
514
568
|
var containerRect = 'containerRect';
|
|
515
569
|
_super.prototype[containerRect] = getValue('options', this).container.getBoundingClientRect();
|
|
516
570
|
EventHandler.add(getValue('options', this).container, 'scroll', this.virtualScrollHandlers(callback, onEnterCallback), this);
|
|
571
|
+
if (getValue('options', this).movableContainer) {
|
|
572
|
+
var movableContainerRect = 'movableContainerRect';
|
|
573
|
+
_super.prototype[movableContainerRect] = getValue('options', this).movableContainer.getBoundingClientRect();
|
|
574
|
+
EventHandler.add(getValue('options', this).movableContainer, 'scroll', this.virtualScrollHandlers(callback, onEnterCallback), this);
|
|
575
|
+
}
|
|
517
576
|
};
|
|
518
577
|
TreeInterSectionObserver.prototype.clear = function () {
|
|
519
578
|
this.lastPos = null;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Column, IGrid, NotifyArgs, Row, ServiceLocator } from '@syncfusion/ej2-grids';
|
|
2
|
+
import { ColumnVirtualFreezeRenderer, VirtualFreezeHdrRenderer, VirtualFreezeRenderer } from '@syncfusion/ej2-grids';
|
|
3
|
+
/**
|
|
4
|
+
* VirtualTreeFreezeRenderer is used to render the virtual table within the frozen and movable content table
|
|
5
|
+
*
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
8
|
+
export declare class VirtualTreeFreezeRenderer extends VirtualFreezeRenderer {
|
|
9
|
+
protected serviceLoc: ServiceLocator;
|
|
10
|
+
constructor(parent: IGrid, locator?: ServiceLocator);
|
|
11
|
+
/**
|
|
12
|
+
* @returns {void}
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
renderTable(): void;
|
|
16
|
+
/**
|
|
17
|
+
* @param {HTMLElement} target - specifies the target
|
|
18
|
+
* @param {DocumentFragment} newChild - specifies the newChild
|
|
19
|
+
* @param {NotifyArgs} e - specifies the notifyargs
|
|
20
|
+
* @returns {void}
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
appendContent(target: HTMLElement, newChild: DocumentFragment, e: NotifyArgs): void;
|
|
24
|
+
/**
|
|
25
|
+
* @param {Object[]} data - specifies the data
|
|
26
|
+
* @param {NotifyArgs} e - specifies the notifyargs
|
|
27
|
+
* @returns {Row<Column>[]} returns the row
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
generateRows(data: Object[], e?: NotifyArgs): Row<Column>[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* ColumnVirtualTreeFreezeRenderer is used to render the virtual table within the frozen and movable content table
|
|
34
|
+
*
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
export declare class ColumnVirtualTreeFreezeRenderer extends ColumnVirtualFreezeRenderer {
|
|
38
|
+
protected serviceLoc: ServiceLocator;
|
|
39
|
+
constructor(parent?: IGrid, locator?: ServiceLocator);
|
|
40
|
+
/**
|
|
41
|
+
* @returns {void}
|
|
42
|
+
* @hidden
|
|
43
|
+
*/
|
|
44
|
+
renderTable(): void;
|
|
45
|
+
appendContent(target: HTMLElement, newChild: DocumentFragment, e: NotifyArgs): void;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* VirtualTreeFreezeHdrRenderer is used to render the virtual table within the frozen and movable header table
|
|
49
|
+
*
|
|
50
|
+
* @hidden
|
|
51
|
+
*/
|
|
52
|
+
export declare class VirtualTreeFreezeHdrRenderer extends VirtualFreezeHdrRenderer {
|
|
53
|
+
/**
|
|
54
|
+
* @returns {void}
|
|
55
|
+
* @hidden
|
|
56
|
+
*/
|
|
57
|
+
renderTable(): void;
|
|
58
|
+
protected rfshMovable(): void;
|
|
59
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { ColumnFreezeContentRenderer, FreezeContentRender, FreezeRowModelGenerator, RenderType } from '@syncfusion/ej2-grids';
|
|
15
|
+
import * as literals from '../base/constant';
|
|
16
|
+
import { ColumnVirtualFreezeRenderer, setDebounce, VirtualFreezeHdrRenderer, VirtualFreezeRenderer } from '@syncfusion/ej2-grids';
|
|
17
|
+
import { TreeInterSectionObserver, VirtualTreeContentRenderer } from './virtual-tree-content-render';
|
|
18
|
+
import { getValue } from '@syncfusion/ej2-base';
|
|
19
|
+
/**
|
|
20
|
+
* VirtualTreeFreezeRenderer is used to render the virtual table within the frozen and movable content table
|
|
21
|
+
*
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
var VirtualTreeFreezeRenderer = /** @class */ (function (_super) {
|
|
25
|
+
__extends(VirtualTreeFreezeRenderer, _super);
|
|
26
|
+
function VirtualTreeFreezeRenderer(parent, locator) {
|
|
27
|
+
var _this = _super.call(this, parent, locator) || this;
|
|
28
|
+
_this.addEventListener();
|
|
29
|
+
return _this;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @returns {void}
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
VirtualTreeFreezeRenderer.prototype.renderTable = function () {
|
|
36
|
+
this.freezeRowGenerator = new FreezeRowModelGenerator(this.parent);
|
|
37
|
+
this.virtualRenderer = new VirtualTreeContentRenderer(this.parent, this.serviceLoc);
|
|
38
|
+
this.virtualRenderer.header = this.serviceLoc.getService('rendererFactory')
|
|
39
|
+
.getRenderer(RenderType.Header).virtualHdrRenderer;
|
|
40
|
+
FreezeContentRender.prototype.renderTable.call(this);
|
|
41
|
+
this.virtualRenderer.setPanel(this.parent.getContent());
|
|
42
|
+
this.scrollbar = this.parent.getContent().querySelector('.e-movablescrollbar');
|
|
43
|
+
var movableCont = this.getMovableContent();
|
|
44
|
+
var minHeight = this.parent.height;
|
|
45
|
+
this.virtualRenderer.virtualEle.content = this.virtualRenderer.content = this.getPanel().querySelector('.' + literals.content);
|
|
46
|
+
this.virtualRenderer.virtualEle.content.style.overflowX = 'hidden';
|
|
47
|
+
this.virtualRenderer.virtualEle.renderFrozenWrapper(minHeight);
|
|
48
|
+
this.virtualRenderer.virtualEle.renderFrozenPlaceHolder();
|
|
49
|
+
if (this.parent.enableColumnVirtualization) {
|
|
50
|
+
this.virtualRenderer.virtualEle.movableContent = this.virtualRenderer.movableContent
|
|
51
|
+
= this.getPanel().querySelector('.' + literals.movableContent);
|
|
52
|
+
this.virtualRenderer.virtualEle.renderMovableWrapper(minHeight);
|
|
53
|
+
this.virtualRenderer.virtualEle.renderMovablePlaceHolder();
|
|
54
|
+
var tbl = movableCont.querySelector('table');
|
|
55
|
+
this.virtualRenderer.virtualEle.movableTable = tbl;
|
|
56
|
+
this.virtualRenderer.virtualEle.movableWrapper.appendChild(tbl);
|
|
57
|
+
movableCont.appendChild(this.virtualRenderer.virtualEle.movableWrapper);
|
|
58
|
+
movableCont.appendChild(this.virtualRenderer.virtualEle.movablePlaceholder);
|
|
59
|
+
}
|
|
60
|
+
this.virtualRenderer.virtualEle.wrapper.appendChild(this.getFrozenContent());
|
|
61
|
+
this.virtualRenderer.virtualEle.wrapper.appendChild(movableCont);
|
|
62
|
+
this.virtualRenderer.virtualEle.table = this.getTable();
|
|
63
|
+
setDebounce(this.parent, this.virtualRenderer, this.scrollbar, this.getMovableContent());
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @param {HTMLElement} target - specifies the target
|
|
67
|
+
* @param {DocumentFragment} newChild - specifies the newChild
|
|
68
|
+
* @param {NotifyArgs} e - specifies the notifyargs
|
|
69
|
+
* @returns {void}
|
|
70
|
+
* @hidden
|
|
71
|
+
*/
|
|
72
|
+
VirtualTreeFreezeRenderer.prototype.appendContent = function (target, newChild, e) {
|
|
73
|
+
getValue('observer', this.virtualRenderer).options.debounceEvent = false;
|
|
74
|
+
this.virtualRenderer['observers'] = new TreeInterSectionObserver(getValue('observer', this.virtualRenderer).element, getValue('observer', this.virtualRenderer).options, getValue('observer', this.virtualRenderer).movableEle);
|
|
75
|
+
this.virtualRenderer['contents'] = this.getPanel().firstChild;
|
|
76
|
+
_super.prototype.appendContent.call(this, target, newChild, e);
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @param {Object[]} data - specifies the data
|
|
80
|
+
* @param {NotifyArgs} e - specifies the notifyargs
|
|
81
|
+
* @returns {Row<Column>[]} returns the row
|
|
82
|
+
* @hidden
|
|
83
|
+
*/
|
|
84
|
+
VirtualTreeFreezeRenderer.prototype.generateRows = function (data, e) {
|
|
85
|
+
return _super.prototype.generateRows.call(this, data, e);
|
|
86
|
+
};
|
|
87
|
+
return VirtualTreeFreezeRenderer;
|
|
88
|
+
}(VirtualFreezeRenderer));
|
|
89
|
+
export { VirtualTreeFreezeRenderer };
|
|
90
|
+
/**
|
|
91
|
+
* ColumnVirtualTreeFreezeRenderer is used to render the virtual table within the frozen and movable content table
|
|
92
|
+
*
|
|
93
|
+
* @hidden
|
|
94
|
+
*/
|
|
95
|
+
var ColumnVirtualTreeFreezeRenderer = /** @class */ (function (_super) {
|
|
96
|
+
__extends(ColumnVirtualTreeFreezeRenderer, _super);
|
|
97
|
+
function ColumnVirtualTreeFreezeRenderer(parent, locator) {
|
|
98
|
+
var _this = _super.call(this, parent, locator) || this;
|
|
99
|
+
_this.serviceLoc = locator;
|
|
100
|
+
_this.eventListener('on');
|
|
101
|
+
return _this;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @returns {void}
|
|
105
|
+
* @hidden
|
|
106
|
+
*/
|
|
107
|
+
ColumnVirtualTreeFreezeRenderer.prototype.renderTable = function () {
|
|
108
|
+
this.virtualRenderer = new VirtualTreeContentRenderer(this.parent, this.serviceLoc);
|
|
109
|
+
this.virtualRenderer.header = this.serviceLoc.getService('rendererFactory')
|
|
110
|
+
.getRenderer(RenderType.Header).virtualHdrRenderer;
|
|
111
|
+
this.freezeRowGenerator = new FreezeRowModelGenerator(this.parent);
|
|
112
|
+
ColumnFreezeContentRenderer.prototype.renderTable.call(this);
|
|
113
|
+
this.virtualRenderer.setPanel(this.parent.getContent());
|
|
114
|
+
this.scrollbar = this.parent.getContent().querySelector('.e-movablescrollbar');
|
|
115
|
+
var frozenRightCont = this.getFrozenRightContent();
|
|
116
|
+
var frzCont = this.getFrozenContent();
|
|
117
|
+
var movableCont = this.getMovableContent();
|
|
118
|
+
if (this.parent.getFrozenMode() === 'Right') {
|
|
119
|
+
frzCont = frozenRightCont;
|
|
120
|
+
}
|
|
121
|
+
this.virtualRenderer.virtualEle.content = this.virtualRenderer.content = this.getPanel().querySelector('.' + literals.content);
|
|
122
|
+
this.virtualRenderer.virtualEle.content.style.overflowX = 'hidden';
|
|
123
|
+
var minHeight = this.parent.height;
|
|
124
|
+
this.virtualRenderer.virtualEle.renderFrozenWrapper(minHeight);
|
|
125
|
+
this.virtualRenderer.virtualEle.renderFrozenPlaceHolder();
|
|
126
|
+
_super.prototype['renderVirtualFrozenLeft'].call(this, frzCont, movableCont);
|
|
127
|
+
_super.prototype['renderVirtualFrozenRight'].call(this, frzCont, movableCont);
|
|
128
|
+
_super.prototype['renderVirtualFrozenLeftRight'].call(this, frzCont, movableCont, frozenRightCont);
|
|
129
|
+
this.virtualRenderer.virtualEle.table = this.getTable();
|
|
130
|
+
setDebounce(this.parent, this.virtualRenderer, this.scrollbar, this.getMovableContent());
|
|
131
|
+
};
|
|
132
|
+
ColumnVirtualTreeFreezeRenderer.prototype.appendContent = function (target, newChild, e) {
|
|
133
|
+
getValue('observer', this.virtualRenderer).options.debounceEvent = false;
|
|
134
|
+
this.virtualRenderer['observers'] = new TreeInterSectionObserver(getValue('observer', this.virtualRenderer).element, getValue('observer', this.virtualRenderer).options, getValue('observer', this.virtualRenderer).movableEle);
|
|
135
|
+
this.virtualRenderer['contents'] = this.getPanel().firstChild;
|
|
136
|
+
_super.prototype.appendContent.call(this, target, newChild, e);
|
|
137
|
+
};
|
|
138
|
+
return ColumnVirtualTreeFreezeRenderer;
|
|
139
|
+
}(ColumnVirtualFreezeRenderer));
|
|
140
|
+
export { ColumnVirtualTreeFreezeRenderer };
|
|
141
|
+
/**
|
|
142
|
+
* VirtualTreeFreezeHdrRenderer is used to render the virtual table within the frozen and movable header table
|
|
143
|
+
*
|
|
144
|
+
* @hidden
|
|
145
|
+
*/
|
|
146
|
+
var VirtualTreeFreezeHdrRenderer = /** @class */ (function (_super) {
|
|
147
|
+
__extends(VirtualTreeFreezeHdrRenderer, _super);
|
|
148
|
+
function VirtualTreeFreezeHdrRenderer() {
|
|
149
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* @returns {void}
|
|
153
|
+
* @hidden
|
|
154
|
+
*/
|
|
155
|
+
VirtualTreeFreezeHdrRenderer.prototype.renderTable = function () {
|
|
156
|
+
_super.prototype.renderTable.call(this);
|
|
157
|
+
};
|
|
158
|
+
VirtualTreeFreezeHdrRenderer.prototype.rfshMovable = function () {
|
|
159
|
+
_super.prototype.rfshMovable.call(this);
|
|
160
|
+
};
|
|
161
|
+
return VirtualTreeFreezeHdrRenderer;
|
|
162
|
+
}(VirtualFreezeHdrRenderer));
|
|
163
|
+
export { VirtualTreeFreezeHdrRenderer };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
1
2
|
.e-popup.e-ddl {
|
|
2
3
|
border-radius: 4px;
|
|
3
4
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
|
|
@@ -103,6 +104,7 @@
|
|
|
103
104
|
min-height: 34px;
|
|
104
105
|
}
|
|
105
106
|
|
|
107
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
106
108
|
@keyframes material-spinner-rotate {
|
|
107
109
|
0% {
|
|
108
110
|
transform: rotate(0);
|
|
@@ -445,4 +447,6 @@
|
|
|
445
447
|
}
|
|
446
448
|
.e-treegrid .e-grid.e-rtl .e-gridcontent .e-droptop .e-lastrow-dragborder {
|
|
447
449
|
height: 0;
|
|
448
|
-
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/* stylelint-disable-line no-empty-source */
|
package/styles/bootstrap.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
1
2
|
.e-popup.e-ddl {
|
|
2
3
|
border-radius: 4px;
|
|
3
4
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
@@ -103,6 +104,7 @@
|
|
|
103
104
|
min-height: 34px;
|
|
104
105
|
}
|
|
105
106
|
|
|
107
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
106
108
|
@keyframes material-spinner-rotate {
|
|
107
109
|
0% {
|
|
108
110
|
transform: rotate(0);
|
|
@@ -446,4 +448,6 @@
|
|
|
446
448
|
}
|
|
447
449
|
.e-treegrid .e-grid.e-rtl .e-gridcontent .e-droptop .e-lastrow-dragborder {
|
|
448
450
|
height: 0;
|
|
449
|
-
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/* stylelint-disable-line no-empty-source */
|
package/styles/bootstrap4.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
1
2
|
.e-input-group.e-ddl .e-control.e-autocomplete ~ .e-ddl-icon {
|
|
2
3
|
font-size: 8px;
|
|
3
4
|
}
|
|
@@ -145,6 +146,7 @@
|
|
|
145
146
|
min-height: 34px;
|
|
146
147
|
}
|
|
147
148
|
|
|
149
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
148
150
|
@keyframes material-spinner-rotate {
|
|
149
151
|
0% {
|
|
150
152
|
transform: rotate(0);
|
|
@@ -481,4 +483,6 @@
|
|
|
481
483
|
}
|
|
482
484
|
.e-treegrid .e-grid.e-rtl .e-gridcontent .e-droptop .e-lastrow-dragborder {
|
|
483
485
|
height: 0;
|
|
484
|
-
}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/* stylelint-disable-line no-empty-source */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
1
2
|
.e-popup.e-ddl {
|
|
2
3
|
border-radius: 4px;
|
|
3
4
|
box-shadow: none;
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
min-height: 34px;
|
|
145
146
|
}
|
|
146
147
|
|
|
148
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
147
149
|
@keyframes material-spinner-rotate {
|
|
148
150
|
0% {
|
|
149
151
|
transform: rotate(0);
|
|
@@ -161,6 +163,7 @@
|
|
|
161
163
|
}
|
|
162
164
|
}
|
|
163
165
|
/*! Toolbar's bootstrap5 theme wise override definitions and variables */
|
|
166
|
+
/* stylelint-disable */
|
|
164
167
|
.e-treegrid .e-indent::before,
|
|
165
168
|
.e-grid-menu .e-indent::before {
|
|
166
169
|
content: "\e810";
|
|
@@ -285,7 +288,7 @@
|
|
|
285
288
|
}
|
|
286
289
|
.e-treegrid .e-treecell {
|
|
287
290
|
display: table-cell;
|
|
288
|
-
line-height:
|
|
291
|
+
line-height: 19px;
|
|
289
292
|
}
|
|
290
293
|
.e-treegrid .e-grid.e-wrap .e-rowcell .e-treecolumn-container {
|
|
291
294
|
white-space: nowrap;
|
|
@@ -481,4 +484,6 @@
|
|
|
481
484
|
}
|
|
482
485
|
.e-treegrid .e-grid.e-rtl .e-gridcontent .e-droptop .e-lastrow-dragborder {
|
|
483
486
|
height: 0;
|
|
484
|
-
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/* stylelint-disable-line no-empty-source */
|