@syncfusion/ej2-treegrid 19.4.55 → 20.1.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.
Files changed (76) hide show
  1. package/CHANGELOG.md +6 -56
  2. package/dist/ej2-treegrid.umd.min.js +2 -2
  3. package/dist/ej2-treegrid.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-treegrid.es2015.js +4885 -4779
  5. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  6. package/dist/es6/ej2-treegrid.es5.js +5024 -4922
  7. package/dist/es6/ej2-treegrid.es5.js.map +1 -1
  8. package/dist/global/ej2-treegrid.min.js +2 -2
  9. package/dist/global/ej2-treegrid.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +9 -9
  12. package/src/treegrid/actions/batch-edit.js +21 -4
  13. package/src/treegrid/actions/crud-actions.js +3 -1
  14. package/src/treegrid/actions/edit.js +16 -1
  15. package/src/treegrid/actions/filter.js +3 -0
  16. package/src/treegrid/actions/rowdragdrop.d.ts +2 -0
  17. package/src/treegrid/actions/rowdragdrop.js +56 -24
  18. package/src/treegrid/actions/toolbar.js +2 -2
  19. package/src/treegrid/base/data.js +4 -2
  20. package/src/treegrid/base/treegrid-model.d.ts +1 -1
  21. package/src/treegrid/base/treegrid.d.ts +13 -6
  22. package/src/treegrid/base/treegrid.js +85 -35
  23. package/src/treegrid/models/column.d.ts +0 -9
  24. package/src/treegrid/models/column.js +0 -19
  25. package/src/treegrid/utils.js +2 -1
  26. package/styles/bootstrap-dark.css +27 -12
  27. package/styles/bootstrap.css +27 -12
  28. package/styles/bootstrap4.css +21 -12
  29. package/styles/bootstrap5-dark.css +43 -27
  30. package/styles/bootstrap5.css +43 -27
  31. package/styles/fabric-dark.css +27 -12
  32. package/styles/fabric.css +27 -12
  33. package/styles/fluent-dark.css +556 -0
  34. package/styles/fluent-dark.scss +1 -0
  35. package/styles/fluent.css +556 -0
  36. package/styles/fluent.scss +1 -0
  37. package/styles/highcontrast-light.css +27 -12
  38. package/styles/highcontrast.css +27 -12
  39. package/styles/material-dark.css +19 -10
  40. package/styles/material.css +19 -10
  41. package/styles/tailwind-dark.css +41 -88
  42. package/styles/tailwind.css +26 -73
  43. package/styles/treegrid/_bootstrap-dark-definition.scss +0 -2
  44. package/styles/treegrid/_bootstrap-definition.scss +0 -2
  45. package/styles/treegrid/_bootstrap4-definition.scss +0 -2
  46. package/styles/treegrid/_bootstrap5-definition.scss +3 -5
  47. package/styles/treegrid/_fabric-dark-definition.scss +0 -2
  48. package/styles/treegrid/_fabric-definition.scss +0 -2
  49. package/styles/treegrid/_fluent-dark-definition.scss +1 -0
  50. package/styles/treegrid/_fluent-definition.scss +3 -4
  51. package/styles/treegrid/_highcontrast-definition.scss +0 -2
  52. package/styles/treegrid/_highcontrast-light-definition.scss +0 -2
  53. package/styles/treegrid/_layout.scss +66 -13
  54. package/styles/treegrid/_material-dark-definition.scss +0 -2
  55. package/styles/treegrid/_material-definition.scss +0 -2
  56. package/styles/treegrid/_tailwind-definition.scss +3 -5
  57. package/styles/treegrid/bootstrap-dark.css +27 -12
  58. package/styles/treegrid/bootstrap.css +27 -12
  59. package/styles/treegrid/bootstrap4.css +21 -12
  60. package/styles/treegrid/bootstrap5-dark.css +43 -27
  61. package/styles/treegrid/bootstrap5.css +43 -27
  62. package/styles/treegrid/fabric-dark.css +27 -12
  63. package/styles/treegrid/fabric.css +27 -12
  64. package/styles/treegrid/fluent-dark.css +556 -0
  65. package/styles/treegrid/fluent-dark.scss +18 -0
  66. package/styles/treegrid/fluent.css +556 -0
  67. package/styles/treegrid/fluent.scss +18 -0
  68. package/styles/treegrid/highcontrast-light.css +27 -12
  69. package/styles/treegrid/highcontrast.css +27 -12
  70. package/styles/treegrid/icons/_fluent-dark.scss +1 -0
  71. package/styles/treegrid/icons/_tailwind-dark.scss +5 -5
  72. package/styles/treegrid/icons/_tailwind.scss +5 -5
  73. package/styles/treegrid/material-dark.css +19 -10
  74. package/styles/treegrid/material.css +19 -10
  75. package/styles/treegrid/tailwind-dark.css +41 -88
  76. package/styles/treegrid/tailwind.css +26 -73
@@ -21,7 +21,6 @@ import { Component, addClass, createElement, EventHandler, isNullOrUndefined, ex
21
21
  import { removeClass, Complex, Collection, getValue } from '@syncfusion/ej2-base';
22
22
  import { Event, Property, NotifyPropertyChanges, setValue, KeyboardEvents, L10n } from '@syncfusion/ej2-base';
23
23
  import { Column } from '../models/column';
24
- import { CellRenderer } from '@syncfusion/ej2-grids';
25
24
  import { RowDropSettings, getUid } from '@syncfusion/ej2-grids';
26
25
  import { FilterSettings } from '../models/filter-settings';
27
26
  import { TextWrapSettings } from '../models/textwrap-settings';
@@ -39,6 +38,7 @@ import { isRemoteData, isOffline, extendArray, isCountRequired, findChildrenReco
39
38
  import { Grid, Logger } from '@syncfusion/ej2-grids';
40
39
  import { Render } from '../renderer/render';
41
40
  import { DataManipulation } from './data';
41
+ import { RowDD } from '../actions/rowdragdrop';
42
42
  import { iterateArrayOrObject } from '@syncfusion/ej2-grids';
43
43
  import { ToolbarItem, ContextMenuItems } from '../enum';
44
44
  import { PageSettings } from '../models/page-settings';
@@ -482,6 +482,13 @@ var TreeGrid = /** @class */ (function (_super) {
482
482
  args: [this]
483
483
  });
484
484
  }
485
+ if (!isNullOrUndefined(this.toolbar) && (this.toolbar['includes']('Indent') || this.toolbar['includes']('Outdent'))) {
486
+ TreeGrid_1.Inject(RowDD);
487
+ modules.push({
488
+ member: 'rowDragAndDrop',
489
+ args: [this]
490
+ });
491
+ }
485
492
  if (this.editSettings.allowAdding || this.editSettings.allowDeleting || this.editSettings.allowEditing) {
486
493
  modules.push({
487
494
  member: 'edit',
@@ -602,6 +609,8 @@ var TreeGrid = /** @class */ (function (_super) {
602
609
  }
603
610
  return modules;
604
611
  };
612
+ var root = 'root';
613
+ this.grid[root] = this[root] ? this[root] : this;
605
614
  this.grid.appendTo(gridContainer);
606
615
  this.wireEvents();
607
616
  this.renderComplete();
@@ -1358,7 +1367,7 @@ var TreeGrid = /** @class */ (function (_super) {
1358
1367
  gridColumn[prop] = this.getGridColumns(column[i][prop], false, index);
1359
1368
  treeGridColumn[prop] = column[i][prop];
1360
1369
  }
1361
- else {
1370
+ else if (!(treeColumn) || prop !== 'sortComparer') {
1362
1371
  gridColumn[prop] = treeGridColumn[prop] = column[i][prop];
1363
1372
  }
1364
1373
  }
@@ -1367,6 +1376,15 @@ var TreeGrid = /** @class */ (function (_super) {
1367
1376
  this.columnModel.push(new Column(treeGridColumn));
1368
1377
  }
1369
1378
  gridColumnCollection.push(gridColumn);
1379
+ if (!isNullOrUndefined(this.columnModel[this.treeColumnIndex]) && this.enableRtl) {
1380
+ if (gridColumn.field === this.columnModel[this.treeColumnIndex].field) {
1381
+ if (isNullOrUndefined(this.treeColumnTextAlign)) {
1382
+ this.treeColumnTextAlign = this.columnModel[this.treeColumnIndex].textAlign;
1383
+ this.treeColumnField = this.columnModel[this.treeColumnIndex].field;
1384
+ }
1385
+ gridColumn.textAlign = 'Right';
1386
+ }
1387
+ }
1370
1388
  }
1371
1389
  return gridColumnCollection;
1372
1390
  };
@@ -1539,6 +1557,9 @@ var TreeGrid = /** @class */ (function (_super) {
1539
1557
  this.grid.allowPdfExport = this.allowPdfExport;
1540
1558
  break;
1541
1559
  case 'enableRtl':
1560
+ if (!isNullOrUndefined(this.treeColumnField)) {
1561
+ this.updateTreeColumnTextAlign();
1562
+ }
1542
1563
  this.grid.enableRtl = this.enableRtl;
1543
1564
  break;
1544
1565
  case 'allowReordering':
@@ -1579,6 +1600,11 @@ var TreeGrid = /** @class */ (function (_super) {
1579
1600
  }
1580
1601
  }
1581
1602
  };
1603
+ TreeGrid.prototype.updateTreeColumnTextAlign = function () {
1604
+ var gridColumn = this.grid.getColumnByField(this.treeColumnField);
1605
+ gridColumn.textAlign = this.enableRtl ? 'Right' : this.treeColumnTextAlign;
1606
+ this.grid.refreshColumns();
1607
+ };
1582
1608
  /**
1583
1609
  * Destroys the component (detaches/removes all event handlers, attributes, classes, and empties the component element).
1584
1610
  *
@@ -1916,10 +1942,13 @@ var TreeGrid = /** @class */ (function (_super) {
1916
1942
  rowData.parentUniqueID = record.parentUniqueID;
1917
1943
  rowData.expanded = record.expanded;
1918
1944
  this.grid.setRowData(key, rowData);
1919
- var table = this.getContentTable();
1920
- var sHeight = table.scrollHeight;
1921
- var clientHeight = this.getContent().clientHeight;
1922
- this.lastRowBorder(this.getRows()[record.index], sHeight <= clientHeight);
1945
+ var visibleRecords = this.getVisibleRecords();
1946
+ if (visibleRecords.length > 0 && key === (visibleRecords[visibleRecords.length - 1])[primaryKey]) {
1947
+ var table = this.getContentTable();
1948
+ var sHeight = table.scrollHeight;
1949
+ var clientHeight = this.getContent().clientHeight;
1950
+ this.lastRowBorder(this.getRows()[currentRecords.indexOf(record)], sHeight <= clientHeight);
1951
+ }
1923
1952
  };
1924
1953
  /**
1925
1954
  * Navigates to the specified target page.
@@ -2129,32 +2158,6 @@ var TreeGrid = /** @class */ (function (_super) {
2129
2158
  this[merge] = undefined; // Workaround for blazor updateModel
2130
2159
  return this.columnModel;
2131
2160
  };
2132
- /**
2133
- * @param {string} columnUid - Defines column uid
2134
- * @returns {void}
2135
- * @hidden
2136
- */
2137
- TreeGrid.prototype.refreshReactColumnTemplateByUid = function (columnUid) {
2138
- var _this = this;
2139
- if (this.isReact) {
2140
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2141
- this.clearTemplate(['columnTemplate'], undefined, function () {
2142
- var cells = 'cells';
2143
- var rowIdx = 'index';
2144
- var rowsObj = _this.grid.getRowsObject();
2145
- var indent = _this.grid.getIndentCount();
2146
- var cellIndex = _this.grid.getNormalizedColumnIndex(columnUid);
2147
- for (var j = 0; j < rowsObj.length; j++) {
2148
- if (rowsObj[j].isDataRow && !isNullOrUndefined(rowsObj[j].index)) {
2149
- var cell = rowsObj[j][cells][cellIndex];
2150
- var cellRenderer = new CellRenderer(_this.grid, _this.grid.serviceLocator);
2151
- var td = _this.getCellFromIndex(rowsObj[j].index, cellIndex - indent);
2152
- cellRenderer.refreshTD(td, cell, rowsObj[j].data, { index: rowsObj[j][rowIdx] });
2153
- }
2154
- }
2155
- });
2156
- }
2157
- };
2158
2161
  /**
2159
2162
  * Gets the content div of the TreeGrid.
2160
2163
  *
@@ -2300,8 +2303,14 @@ var TreeGrid = /** @class */ (function (_super) {
2300
2303
  this.uniqueIDCollection = {};
2301
2304
  this.convertTreeData(this.dataSource);
2302
2305
  if (!isCountRequired(this)) {
2303
- this.grid.dataSource = !(this.dataSource instanceof DataManager) ? this.flatData :
2304
- new DataManager(this.dataSource.dataSource, this.dataSource.defaultQuery, this.dataSource.adaptor);
2306
+ if (!(this.dataSource instanceof DataManager)) {
2307
+ this.grid.dataSource = this.flatData;
2308
+ }
2309
+ else {
2310
+ this.grid.setProperties({
2311
+ dataSource: new DataManager(this.dataSource.dataSource, this.dataSource.defaultQuery, this.dataSource.adaptor)
2312
+ }, true);
2313
+ }
2305
2314
  }
2306
2315
  this.grid.refresh();
2307
2316
  };
@@ -2445,6 +2454,9 @@ var TreeGrid = /** @class */ (function (_super) {
2445
2454
  if (!(isRemoteData(_this) && !isOffline(_this)) && (!isCountRequired(_this) || !isNullOrUndefined(record[children]))) {
2446
2455
  var collapseArgs = { data: record, row: row };
2447
2456
  _this.setHeightForFrozenContent();
2457
+ if (!isNullOrUndefined(_this.expandStateMapping)) {
2458
+ _this.updateExpandStateMapping(collapseArgs.data, true);
2459
+ }
2448
2460
  _this.trigger(events.expanded, collapseArgs);
2449
2461
  }
2450
2462
  }
@@ -2507,6 +2519,9 @@ var TreeGrid = /** @class */ (function (_super) {
2507
2519
  var collapseArgs = { data: record, row: row };
2508
2520
  if (!isRemoteData(_this)) {
2509
2521
  _this.setHeightForFrozenContent();
2522
+ if (!isNullOrUndefined(_this.expandStateMapping)) {
2523
+ _this.updateExpandStateMapping(collapseArgs.data, false);
2524
+ }
2510
2525
  _this.trigger(events.collapsed, collapseArgs);
2511
2526
  if (_this.enableInfiniteScrolling) {
2512
2527
  var scrollHeight = _this.grid.getContent().firstElementChild.scrollHeight;
@@ -2519,6 +2534,19 @@ var TreeGrid = /** @class */ (function (_super) {
2519
2534
  }
2520
2535
  });
2521
2536
  };
2537
+ TreeGrid.prototype.updateExpandStateMapping = function (record, state) {
2538
+ var totalRecords = record;
2539
+ if (totalRecords.length) {
2540
+ for (var i = 0; i < totalRecords.length; i++) {
2541
+ totalRecords[i][this.expandStateMapping] = state;
2542
+ editAction({ value: totalRecords[i], action: 'edit' }, this, this.isSelfReference, totalRecords[i].index, this.grid.selectedRowIndex, this.expandStateMapping);
2543
+ }
2544
+ }
2545
+ else {
2546
+ record[this.expandStateMapping] = state;
2547
+ editAction({ value: record, action: 'edit' }, this, this.isSelfReference, record.index, this.grid.selectedRowIndex, this.expandStateMapping);
2548
+ }
2549
+ };
2522
2550
  /**
2523
2551
  * Expands the records at specific hierarchical level
2524
2552
  *
@@ -2961,7 +2989,7 @@ var TreeGrid = /** @class */ (function (_super) {
2961
2989
  freezeRightRows[i].style.display = displayAction;
2962
2990
  }
2963
2991
  this.notify('childRowExpand', { row: rows[i] });
2964
- if (!isNullOrUndefined(childRecords[i].childRecords) && (action !== 'expand' ||
2992
+ if ((!isNullOrUndefined(childRecords[i].childRecords) && childRecords[i].childRecords.length > 0) && (action !== 'expand' ||
2965
2993
  isNullOrUndefined(childRecords[i].expanded) || childRecords[i].expanded)) {
2966
2994
  this.expandCollapse(action, rows[i], childRecords[i], true);
2967
2995
  if (this.frozenColumns <= this.treeColumnIndex && !isNullOrUndefined(movableRows)) {
@@ -3060,6 +3088,28 @@ var TreeGrid = /** @class */ (function (_super) {
3060
3088
  }
3061
3089
  }
3062
3090
  };
3091
+ /**
3092
+ * Updates the rows and cells
3093
+ *
3094
+ * @param {Object[]} records - Updates the given records
3095
+ * @param {HTMLTableRowElement[]} rows - Updates the given rows
3096
+ * @param {number} index - Updates the given cell index
3097
+ * @returns {void}
3098
+ */
3099
+ TreeGrid.prototype.updateRowAndCellElements = function (records, rows, index) {
3100
+ for (var i = 0; i < records.length; i++) {
3101
+ this.renderModule.cellRender({
3102
+ data: records[i], cell: rows[i].cells[index],
3103
+ column: this.grid.getColumns()[this.treeColumnIndex],
3104
+ requestType: 'rowDragAndDrop'
3105
+ });
3106
+ if (this['action'] === 'indenting' || this['action'] === 'outdenting') {
3107
+ this.renderModule.RowModifier({
3108
+ data: records[i], row: rows[i]
3109
+ });
3110
+ }
3111
+ }
3112
+ };
3063
3113
  /**
3064
3114
  * @hidden
3065
3115
  * @returns {void}
@@ -326,16 +326,7 @@ export declare class Column {
326
326
  * @default null
327
327
  */
328
328
  freeze: freezeDirection;
329
- private parent;
330
329
  constructor(options: ColumnModel);
331
- /**
332
- * Update the State changes reflected for TreeGrid columndirective in react platform.
333
- *
334
- * @param {Column} column - specifies the column
335
- * @returns {void}
336
- * @hidden
337
- */
338
- private setProperties;
339
330
  }
340
331
  /**
341
332
  * Interface for a TreeGrid class Column
@@ -71,25 +71,6 @@ var Column = /** @class */ (function () {
71
71
  this.filter = {};
72
72
  merge(this, options);
73
73
  }
74
- /**
75
- * Update the State changes reflected for TreeGrid columndirective in react platform.
76
- *
77
- * @param {Column} column - specifies the column
78
- * @returns {void}
79
- * @hidden
80
- */
81
- Column.prototype.setProperties = function (column) {
82
- //Angular two way binding
83
- var keys = Object.keys(column);
84
- for (var i = 0; i < keys.length; i++) {
85
- this[keys[i]] = column[keys[i]];
86
- //Refresh the react columnTemplates on state change
87
- if (this.parent && this.parent['isReact'] && keys[i] === 'template') {
88
- var refreshReactColumnTemplateByUid = 'refreshReactColumnTemplateByUid';
89
- this.parent.clipboardModule['treeGridParent'][refreshReactColumnTemplateByUid](this.uid);
90
- }
91
- }
92
- };
93
74
  return Column;
94
75
  }());
95
76
  export { Column };
@@ -122,7 +122,8 @@ export function findChildrenRecords(records) {
122
122
  }
123
123
  if (!isNullOrUndefined(records.childRecords)) {
124
124
  var childRecords = records.childRecords;
125
- for (var i = 0, len = Object.keys(childRecords).length; i < len; i++) {
125
+ var keys = Object.keys(childRecords);
126
+ for (var i = 0, len = keys.length; i < len; i++) {
126
127
  datas.push(childRecords[i]);
127
128
  if (childRecords[i].hasChildRecords || (!isNullOrUndefined(childRecords[i].childRecords) &&
128
129
  childRecords[i].childRecords.length)) {
@@ -159,10 +159,6 @@
159
159
  width: 18px;
160
160
  }
161
161
 
162
- .e-bigger .e-treegrid .e-rowcell.e-treerowcell {
163
- padding-left: 5px;
164
- }
165
-
166
162
  .e-bigger .e-treegrid .e-hierarchycheckbox {
167
163
  padding-left: 2px;
168
164
  }
@@ -172,6 +168,14 @@
172
168
  width: 20px;
173
169
  }
174
170
 
171
+ .e-bigger .e-treegrid .e-hierarchycheckbox .e-frame {
172
+ font-size: 12px;
173
+ line-height: 12px;
174
+ padding: 2px 0;
175
+ height: 20px;
176
+ width: 20px;
177
+ }
178
+
175
179
  .e-bigger .e-treegrid .e-treecell {
176
180
  line-height: 18px;
177
181
  }
@@ -208,10 +212,6 @@
208
212
  color: #f0f0f0;
209
213
  }
210
214
 
211
- .e-treegrid .e-rowcell.e-treerowcell {
212
- padding-left: 5px;
213
- }
214
-
215
215
  .e-treegrid .e-rtl .e-treegridcollapse {
216
216
  transform: scale(-1);
217
217
  }
@@ -250,8 +250,11 @@
250
250
  }
251
251
 
252
252
  .e-treegrid .e-hierarchycheckbox .e-frame {
253
- height: 20px;
254
- width: 20px;
253
+ font-size: 10px;
254
+ height: 16px;
255
+ line-height: 11px;
256
+ padding: 2px 0;
257
+ width: 16px;
255
258
  }
256
259
 
257
260
  .e-treegrid .e-checkselection .e-frozenheader .e-rowcell,
@@ -442,12 +445,24 @@
442
445
  border-top: 1px solid #0070f0;
443
446
  }
444
447
 
445
- .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-childborder, .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-dropbottom {
448
+ .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-childborder {
449
+ border-bottom: 1px solid #0070f0;
450
+ border-top: 1px solid #0070f0;
451
+ box-shadow: 0 0 0 0 #0070f0;
452
+ }
453
+
454
+ .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-childborder {
455
+ border-bottom: 1px solid #0070f0;
456
+ border-top: 1px solid #0070f0;
457
+ box-shadow: 0 0 0 0 #0070f0;
458
+ }
459
+
460
+ .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-dropbottom {
446
461
  border-bottom: 1px solid #0070f0;
447
462
  box-shadow: 0 0 0 0 #0070f0;
448
463
  }
449
464
 
450
- .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-childborder, .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-dropbottom {
465
+ .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-dropbottom {
451
466
  border-bottom: 1px solid #0070f0;
452
467
  box-shadow: 0 0 0 0 #0070f0;
453
468
  }
@@ -160,10 +160,6 @@
160
160
  width: 18px;
161
161
  }
162
162
 
163
- .e-bigger .e-treegrid .e-rowcell.e-treerowcell {
164
- padding-left: 5px;
165
- }
166
-
167
163
  .e-bigger .e-treegrid .e-hierarchycheckbox {
168
164
  padding-left: 2px;
169
165
  }
@@ -173,6 +169,14 @@
173
169
  width: 20px;
174
170
  }
175
171
 
172
+ .e-bigger .e-treegrid .e-hierarchycheckbox .e-frame {
173
+ font-size: 12px;
174
+ line-height: 12px;
175
+ padding: 2px 0;
176
+ height: 20px;
177
+ width: 20px;
178
+ }
179
+
176
180
  .e-bigger .e-treegrid .e-treecell {
177
181
  line-height: 18px;
178
182
  }
@@ -209,10 +213,6 @@
209
213
  color: #333;
210
214
  }
211
215
 
212
- .e-treegrid .e-rowcell.e-treerowcell {
213
- padding-left: 5px;
214
- }
215
-
216
216
  .e-treegrid .e-rtl .e-treegridcollapse {
217
217
  transform: scale(-1);
218
218
  }
@@ -251,8 +251,11 @@
251
251
  }
252
252
 
253
253
  .e-treegrid .e-hierarchycheckbox .e-frame {
254
- height: 20px;
255
- width: 20px;
254
+ font-size: 10px;
255
+ height: 16px;
256
+ line-height: 11px;
257
+ padding: 2px 0;
258
+ width: 16px;
256
259
  }
257
260
 
258
261
  .e-treegrid .e-checkselection .e-frozenheader .e-rowcell,
@@ -443,12 +446,24 @@
443
446
  border-top: 1px solid #317ab9;
444
447
  }
445
448
 
446
- .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-childborder, .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-dropbottom {
449
+ .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-childborder {
450
+ border-bottom: 1px solid #317ab9;
451
+ border-top: 1px solid #317ab9;
452
+ box-shadow: 0 0 0 0 #317ab9;
453
+ }
454
+
455
+ .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-childborder {
456
+ border-bottom: 1px solid #317ab9;
457
+ border-top: 1px solid #317ab9;
458
+ box-shadow: 0 0 0 0 #317ab9;
459
+ }
460
+
461
+ .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-dropbottom {
447
462
  border-bottom: 1px solid #317ab9;
448
463
  box-shadow: 0 0 0 0 #317ab9;
449
464
  }
450
465
 
451
- .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-childborder, .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-dropbottom {
466
+ .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-dropbottom {
452
467
  border-bottom: 1px solid #317ab9;
453
468
  box-shadow: 0 0 0 0 #317ab9;
454
469
  }
@@ -200,10 +200,6 @@
200
200
  width: 16px;
201
201
  }
202
202
 
203
- .e-bigger .e-treegrid .e-rowcell.e-treerowcell {
204
- padding-left: 12px;
205
- }
206
-
207
203
  .e-bigger .e-treegrid .e-hierarchycheckbox {
208
204
  padding-left: 2px;
209
205
  }
@@ -213,6 +209,11 @@
213
209
  width: 20px;
214
210
  }
215
211
 
212
+ .e-bigger .e-treegrid .e-hierarchycheckbox .e-frame {
213
+ height: 20px;
214
+ width: 20px;
215
+ }
216
+
216
217
  .e-bigger .e-treegrid .e-treecell {
217
218
  line-height: 16px;
218
219
  }
@@ -249,10 +250,6 @@
249
250
  color: #343a40;
250
251
  }
251
252
 
252
- .e-treegrid .e-rowcell.e-treerowcell {
253
- padding-left: 9px;
254
- }
255
-
256
253
  .e-treegrid .e-rtl .e-treegridcollapse {
257
254
  transform: scale(-1);
258
255
  }
@@ -473,8 +470,8 @@
473
470
 
474
471
  .e-treegrid .e-grid .e-gridcontent tr.e-row:first-child td.e-rowcell.e-childborder,
475
472
  .e-treegrid .e-grid .e-gridcontent tr.e-row:first-child td.e-rowdragdrop.e-childborder {
476
- border-bottom: 1px solid #e3165b;
477
- border-top: 1px solid #e3165b;
473
+ border-bottom: 1px solid;
474
+ border-top: 1px solid;
478
475
  box-shadow: 0 0 0 0 #e3165b;
479
476
  }
480
477
 
@@ -483,12 +480,24 @@
483
480
  border-top: 1px solid #e3165b;
484
481
  }
485
482
 
486
- .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-childborder, .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-dropbottom {
483
+ .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-childborder {
484
+ border-bottom: 1px solid;
485
+ border-top: 1px solid;
486
+ box-shadow: 0 0 0 0 #e3165b;
487
+ }
488
+
489
+ .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-childborder {
490
+ border-bottom: 1px solid;
491
+ border-top: 1px solid;
492
+ box-shadow: 0 0 0 0 #e3165b;
493
+ }
494
+
495
+ .e-treegrid .e-grid .e-gridcontent td.e-rowcell.e-dropbottom {
487
496
  border-bottom: 1px solid #e3165b;
488
497
  box-shadow: 0 0 0 0 #e3165b;
489
498
  }
490
499
 
491
- .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-childborder, .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-dropbottom {
500
+ .e-treegrid .e-grid .e-gridcontent td.e-rowdragdrop.e-dropbottom {
492
501
  border-bottom: 1px solid #e3165b;
493
502
  box-shadow: 0 0 0 0 #e3165b;
494
503
  }