@syncfusion/ej2-treegrid 32.2.7 → 32.2.9-1987473

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 (206) hide show
  1. package/.eslintrc.json +243 -262
  2. package/README.md +92 -92
  3. package/dist/ej2-treegrid.umd.min.js +1 -10
  4. package/dist/ej2-treegrid.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-treegrid.es2015.js +127 -96
  6. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  7. package/dist/es6/ej2-treegrid.es5.js +424 -392
  8. package/dist/es6/ej2-treegrid.es5.js.map +1 -1
  9. package/license +9 -9
  10. package/package.json +44 -44
  11. package/src/treegrid/actions/clipboard.js +13 -13
  12. package/src/treegrid/actions/excel-export.js +35 -5
  13. package/src/treegrid/actions/logger.js +13 -13
  14. package/src/treegrid/actions/pdf-export.js +1 -1
  15. package/src/treegrid/actions/virtual-scroll.js +18 -14
  16. package/src/treegrid/base/treegrid-model.d.ts +950 -950
  17. package/src/treegrid/base/treegrid.d.ts +18 -18
  18. package/src/treegrid/base/treegrid.js +30 -35
  19. package/src/treegrid/models/column-chooser-settings-model.d.ts +41 -41
  20. package/src/treegrid/models/column-chooser-settings.js +19 -19
  21. package/src/treegrid/models/column-model.d.ts +6 -6
  22. package/src/treegrid/models/column.js +19 -19
  23. package/src/treegrid/models/edit-settings-model.d.ts +71 -71
  24. package/src/treegrid/models/edit-settings.js +19 -19
  25. package/src/treegrid/models/filter-settings-model.d.ts +198 -198
  26. package/src/treegrid/models/filter-settings.js +19 -19
  27. package/src/treegrid/models/infinite-scroll-settings-model.d.ts +16 -16
  28. package/src/treegrid/models/infinite-scroll-settings.js +19 -19
  29. package/src/treegrid/models/loading-indicator.js +19 -19
  30. package/src/treegrid/models/page-settings-model.d.ts +43 -43
  31. package/src/treegrid/models/page-settings.js +19 -19
  32. package/src/treegrid/models/rowdrop-settings-model.d.ts +6 -6
  33. package/src/treegrid/models/rowdrop-settings.js +19 -19
  34. package/src/treegrid/models/search-settings-model.d.ts +62 -62
  35. package/src/treegrid/models/search-settings.js +19 -19
  36. package/src/treegrid/models/selection-settings-model.d.ts +55 -55
  37. package/src/treegrid/models/selection-settings.js +19 -19
  38. package/src/treegrid/models/sort-settings-model.d.ts +27 -27
  39. package/src/treegrid/models/sort-settings.js +19 -19
  40. package/src/treegrid/models/summary-model.d.ts +63 -63
  41. package/src/treegrid/models/summary.js +19 -19
  42. package/src/treegrid/models/textwrap-settings-model.d.ts +12 -12
  43. package/src/treegrid/models/textwrap-settings.js +19 -19
  44. package/src/treegrid/renderer/virtual-row-model-generator.js +13 -13
  45. package/src/treegrid/renderer/virtual-tree-content-render.js +16 -13
  46. package/styles/treegrid/_all.bds.scss +2 -2
  47. package/styles/treegrid/_all.bootstrap-dark.scss +2 -2
  48. package/styles/treegrid/_all.bootstrap.scss +2 -2
  49. package/styles/treegrid/_all.bootstrap4.scss +2 -2
  50. package/styles/treegrid/_all.bootstrap5-dark.scss +2 -2
  51. package/styles/treegrid/_all.bootstrap5.3.scss +2 -2
  52. package/styles/treegrid/_all.bootstrap5.scss +2 -2
  53. package/styles/treegrid/_all.fabric-dark.scss +2 -2
  54. package/styles/treegrid/_all.fabric.scss +2 -2
  55. package/styles/treegrid/_all.fluent-dark.scss +2 -2
  56. package/styles/treegrid/_all.fluent.scss +2 -2
  57. package/styles/treegrid/_all.fluent2.scss +2 -2
  58. package/styles/treegrid/_all.highcontrast-light.scss +2 -2
  59. package/styles/treegrid/_all.highcontrast.scss +2 -2
  60. package/styles/treegrid/_all.material-dark.scss +2 -2
  61. package/styles/treegrid/_all.material.scss +2 -2
  62. package/styles/treegrid/_all.material3-dark.scss +2 -2
  63. package/styles/treegrid/_all.material3.scss +2 -2
  64. package/styles/treegrid/_all.scss +2 -2
  65. package/styles/treegrid/_all.tailwind-dark.scss +2 -2
  66. package/styles/treegrid/_all.tailwind.scss +2 -2
  67. package/styles/treegrid/_all.tailwind3.scss +2 -2
  68. package/styles/treegrid/_bds-definition.scss +26 -26
  69. package/styles/treegrid/_bigger.bds.scss +3 -3
  70. package/styles/treegrid/_bigger.bootstrap-dark.scss +3 -3
  71. package/styles/treegrid/_bigger.bootstrap.scss +3 -3
  72. package/styles/treegrid/_bigger.bootstrap4.scss +3 -3
  73. package/styles/treegrid/_bigger.bootstrap5-dark.scss +3 -3
  74. package/styles/treegrid/_bigger.bootstrap5.3.scss +3 -3
  75. package/styles/treegrid/_bigger.bootstrap5.scss +3 -3
  76. package/styles/treegrid/_bigger.fabric-dark.scss +3 -3
  77. package/styles/treegrid/_bigger.fabric.scss +3 -3
  78. package/styles/treegrid/_bigger.fluent-dark.scss +3 -3
  79. package/styles/treegrid/_bigger.fluent.scss +3 -3
  80. package/styles/treegrid/_bigger.fluent2.scss +3 -3
  81. package/styles/treegrid/_bigger.highcontrast-light.scss +3 -3
  82. package/styles/treegrid/_bigger.highcontrast.scss +3 -3
  83. package/styles/treegrid/_bigger.material-dark.scss +3 -3
  84. package/styles/treegrid/_bigger.material.scss +3 -3
  85. package/styles/treegrid/_bigger.material3-dark.scss +3 -3
  86. package/styles/treegrid/_bigger.material3.scss +3 -3
  87. package/styles/treegrid/_bigger.scss +67 -67
  88. package/styles/treegrid/_bigger.tailwind-dark.scss +3 -3
  89. package/styles/treegrid/_bigger.tailwind.scss +3 -3
  90. package/styles/treegrid/_bigger.tailwind3.scss +3 -3
  91. package/styles/treegrid/_bootstrap-dark-definition.scss +31 -31
  92. package/styles/treegrid/_bootstrap-definition.scss +31 -31
  93. package/styles/treegrid/_bootstrap4-definition.scss +31 -31
  94. package/styles/treegrid/_bootstrap5-dark-definition.scss +26 -26
  95. package/styles/treegrid/_bootstrap5-definition.scss +26 -26
  96. package/styles/treegrid/_bootstrap5.3-definition.scss +26 -26
  97. package/styles/treegrid/_fabric-dark-definition.scss +31 -31
  98. package/styles/treegrid/_fabric-definition.scss +31 -31
  99. package/styles/treegrid/_fluent-dark-definition.scss +27 -27
  100. package/styles/treegrid/_fluent-definition.scss +27 -27
  101. package/styles/treegrid/_fluent2-definition.scss +26 -26
  102. package/styles/treegrid/_fusionnew-definition.scss +24 -24
  103. package/styles/treegrid/_highcontrast-definition.scss +31 -31
  104. package/styles/treegrid/_highcontrast-light-definition.scss +31 -31
  105. package/styles/treegrid/_icons.scss +47 -47
  106. package/styles/treegrid/_layout.bds.scss +4 -4
  107. package/styles/treegrid/_layout.bootstrap-dark.scss +4 -4
  108. package/styles/treegrid/_layout.bootstrap.scss +4 -4
  109. package/styles/treegrid/_layout.bootstrap4.scss +4 -4
  110. package/styles/treegrid/_layout.bootstrap5-dark.scss +4 -4
  111. package/styles/treegrid/_layout.bootstrap5.3.scss +4 -4
  112. package/styles/treegrid/_layout.bootstrap5.scss +4 -4
  113. package/styles/treegrid/_layout.fabric-dark.scss +4 -4
  114. package/styles/treegrid/_layout.fabric.scss +4 -4
  115. package/styles/treegrid/_layout.fluent-dark.scss +4 -4
  116. package/styles/treegrid/_layout.fluent.scss +4 -4
  117. package/styles/treegrid/_layout.fluent2.scss +4 -4
  118. package/styles/treegrid/_layout.highcontrast-light.scss +4 -4
  119. package/styles/treegrid/_layout.highcontrast.scss +4 -4
  120. package/styles/treegrid/_layout.material-dark.scss +4 -4
  121. package/styles/treegrid/_layout.material.scss +4 -4
  122. package/styles/treegrid/_layout.material3-dark.scss +4 -4
  123. package/styles/treegrid/_layout.material3.scss +4 -4
  124. package/styles/treegrid/_layout.scss +531 -531
  125. package/styles/treegrid/_layout.tailwind-dark.scss +4 -4
  126. package/styles/treegrid/_layout.tailwind.scss +4 -4
  127. package/styles/treegrid/_layout.tailwind3.scss +4 -4
  128. package/styles/treegrid/_material-dark-definition.scss +31 -31
  129. package/styles/treegrid/_material-definition.scss +31 -31
  130. package/styles/treegrid/_material3-dark-definition.scss +26 -26
  131. package/styles/treegrid/_material3-definition.scss +26 -26
  132. package/styles/treegrid/_tailwind-dark-definition.scss +26 -26
  133. package/styles/treegrid/_tailwind-definition.scss +26 -26
  134. package/styles/treegrid/_tailwind3-definition.scss +26 -26
  135. package/styles/treegrid/_theme-variables.bds.scss +1 -1
  136. package/styles/treegrid/_theme-variables.bootstrap-dark.scss +1 -1
  137. package/styles/treegrid/_theme-variables.bootstrap.scss +1 -1
  138. package/styles/treegrid/_theme-variables.bootstrap4.scss +1 -1
  139. package/styles/treegrid/_theme-variables.bootstrap5-dark.scss +1 -1
  140. package/styles/treegrid/_theme-variables.bootstrap5.3.scss +1 -1
  141. package/styles/treegrid/_theme-variables.bootstrap5.scss +1 -1
  142. package/styles/treegrid/_theme-variables.fabric-dark.scss +1 -1
  143. package/styles/treegrid/_theme-variables.fabric.scss +1 -1
  144. package/styles/treegrid/_theme-variables.fluent-dark.scss +1 -1
  145. package/styles/treegrid/_theme-variables.fluent.scss +1 -1
  146. package/styles/treegrid/_theme-variables.fluent2.scss +1 -1
  147. package/styles/treegrid/_theme-variables.highcontrast-light.scss +1 -1
  148. package/styles/treegrid/_theme-variables.highcontrast.scss +1 -1
  149. package/styles/treegrid/_theme-variables.material-dark.scss +1 -1
  150. package/styles/treegrid/_theme-variables.material.scss +1 -1
  151. package/styles/treegrid/_theme-variables.material3-dark.scss +1 -1
  152. package/styles/treegrid/_theme-variables.material3.scss +1 -1
  153. package/styles/treegrid/_theme-variables.tailwind-dark.scss +1 -1
  154. package/styles/treegrid/_theme-variables.tailwind.scss +1 -1
  155. package/styles/treegrid/_theme-variables.tailwind3.scss +1 -1
  156. package/styles/treegrid/_theme.bds.scss +1 -1
  157. package/styles/treegrid/_theme.bootstrap-dark.scss +1 -1
  158. package/styles/treegrid/_theme.bootstrap.scss +1 -1
  159. package/styles/treegrid/_theme.bootstrap4.scss +1 -1
  160. package/styles/treegrid/_theme.bootstrap5-dark.scss +1 -1
  161. package/styles/treegrid/_theme.bootstrap5.3.scss +1 -1
  162. package/styles/treegrid/_theme.bootstrap5.scss +1 -1
  163. package/styles/treegrid/_theme.fabric-dark.scss +1 -1
  164. package/styles/treegrid/_theme.fabric.scss +1 -1
  165. package/styles/treegrid/_theme.fluent-dark.scss +1 -1
  166. package/styles/treegrid/_theme.fluent.scss +1 -1
  167. package/styles/treegrid/_theme.fluent2.scss +1 -1
  168. package/styles/treegrid/_theme.highcontrast-light.scss +1 -1
  169. package/styles/treegrid/_theme.highcontrast.scss +1 -1
  170. package/styles/treegrid/_theme.material-dark.scss +1 -1
  171. package/styles/treegrid/_theme.material.scss +1 -1
  172. package/styles/treegrid/_theme.material3-dark.scss +1 -1
  173. package/styles/treegrid/_theme.material3.scss +1 -1
  174. package/styles/treegrid/_theme.scss +1 -1
  175. package/styles/treegrid/_theme.tailwind-dark.scss +1 -1
  176. package/styles/treegrid/_theme.tailwind.scss +1 -1
  177. package/styles/treegrid/_theme.tailwind3.scss +1 -1
  178. package/styles/treegrid/icons/_bds.scss +38 -38
  179. package/styles/treegrid/icons/_bootstrap-dark.scss +48 -48
  180. package/styles/treegrid/icons/_bootstrap.scss +48 -48
  181. package/styles/treegrid/icons/_bootstrap4.scss +48 -48
  182. package/styles/treegrid/icons/_bootstrap5.3.scss +48 -48
  183. package/styles/treegrid/icons/_bootstrap5.scss +48 -48
  184. package/styles/treegrid/icons/_fabric-dark.scss +48 -48
  185. package/styles/treegrid/icons/_fabric.scss +48 -48
  186. package/styles/treegrid/icons/_fluent.scss +48 -48
  187. package/styles/treegrid/icons/_fluent2.scss +48 -48
  188. package/styles/treegrid/icons/_fusionnew.scss +31 -31
  189. package/styles/treegrid/icons/_highcontrast-light.scss +48 -48
  190. package/styles/treegrid/icons/_highcontrast.scss +48 -48
  191. package/styles/treegrid/icons/_material-dark.scss +48 -48
  192. package/styles/treegrid/icons/_material.scss +48 -48
  193. package/styles/treegrid/icons/_material3.scss +48 -48
  194. package/styles/treegrid/icons/_tailwind-dark.scss +48 -48
  195. package/styles/treegrid/icons/_tailwind.scss +48 -48
  196. package/styles/treegrid/icons/_tailwind3.scss +48 -48
  197. package/aceconfig.js +0 -17
  198. package/dist/ej2-treegrid.min.js +0 -10
  199. package/dist/global/ej2-treegrid.min.js +0 -11
  200. package/dist/global/ej2-treegrid.min.js.map +0 -1
  201. package/dist/global/index.d.ts +0 -14
  202. package/helpers/e2e/index.d.ts +0 -1
  203. package/helpers/e2e/index.js +0 -8
  204. package/helpers/e2e/treegridhelper.d.ts +0 -21
  205. package/helpers/e2e/treegridhelper.js +0 -83
  206. package/tslint.json +0 -111
@@ -908,7 +908,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
908
908
  * Invoke the done method from the argument to start rendering after an edit operation.
909
909
  *
910
910
  * @event dataSourceChanged
911
-
911
+ * @deprecated
912
912
  */
913
913
  dataSourceChanged: EmitType<DataSourceChangedEventArgs>;
914
914
  /**
@@ -916,7 +916,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
916
916
  * The current view data and total record count should be assigned to the dataSource based on the action performed.
917
917
  *
918
918
  * @event dataStateChange
919
-
919
+ * @deprecated
920
920
  */
921
921
  dataStateChange: EmitType<DataStateChangeEventArgs>;
922
922
  /**
@@ -961,7 +961,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
961
961
  * Triggers before the selected row is deselected.
962
962
  *
963
963
  * @event rowDeselecting
964
-
964
+ * @deprecated
965
965
  */
966
966
  rowDeselecting: EmitType<RowDeselectEventArgs>;
967
967
  /**
@@ -986,7 +986,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
986
986
  * Triggers before the column menu opens.
987
987
  *
988
988
  * @event columnMenuOpen
989
-
989
+ * @deprecated
990
990
  */
991
991
  columnMenuOpen: EmitType<ColumnMenuOpenEventArgs>;
992
992
  /**
@@ -1005,21 +1005,21 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
1005
1005
  * Triggers before a selected cell is deselected.
1006
1006
  *
1007
1007
  * @event cellDeselecting
1008
-
1008
+ * @deprecated
1009
1009
  */
1010
1010
  cellDeselecting: EmitType<CellDeselectEventArgs>;
1011
1011
  /**
1012
1012
  * Triggers when a selected cell is deselected.
1013
1013
  *
1014
1014
  * @event cellDeselected
1015
-
1015
+ * @deprecated
1016
1016
  */
1017
1017
  cellDeselected: EmitType<CellDeselectEventArgs>;
1018
1018
  /**
1019
1019
  * Triggers when column resizing starts.
1020
1020
  *
1021
1021
  * @event resizeStart
1022
-
1022
+ * @deprecated
1023
1023
  */
1024
1024
  resizeStart: EmitType<ResizeArgs>;
1025
1025
  /**
@@ -2248,7 +2248,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
2248
2248
  * @param {number} columnIndex - Specifies the column index.
2249
2249
  * @returns {Element} - Returns movable cell element from the indexes passed
2250
2250
  *
2251
-
2251
+ * @deprecated This method is deprecated. Use getCellFromIndex method instead.
2252
2252
  */
2253
2253
  getMovableCellFromIndex(rowIndex: number, columnIndex: number): Element;
2254
2254
  /**
@@ -2256,7 +2256,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
2256
2256
  *
2257
2257
  * @returns {Element[]} - Returns element collection of movable rows
2258
2258
  *
2259
-
2259
+ * @deprecated This method is deprecated. Use getDataRows method instead.
2260
2260
  */
2261
2261
  getMovableDataRows(): Element[];
2262
2262
  /**
@@ -2265,14 +2265,14 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
2265
2265
  * @param {number} index - Specifies the row index.
2266
2266
  * @returns {Element} - Returns movable row based on index passed
2267
2267
  *
2268
-
2268
+ * @deprecated This method is deprecated. Use getRowByIndex method instead.
2269
2269
  */
2270
2270
  getMovableRowByIndex(index: number): Element;
2271
2271
  /**
2272
2272
  * Gets the TreeGrid's movable content rows from frozen treegrid.
2273
2273
  *
2274
2274
  * @returns {Element[]}: Returns movable row element
2275
-
2275
+ * @deprecated This method is deprecated. Use getRows method instead.
2276
2276
  */
2277
2277
  getMovableRows(): Element[];
2278
2278
  /**
@@ -2281,7 +2281,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
2281
2281
  * @param {number} index - Specifies the row index.
2282
2282
  * @returns {Element} returns the element
2283
2283
  *
2284
-
2284
+ * @deprecated This method is deprecated. Use getRowByIndex method instead.
2285
2285
  */
2286
2286
  getFrozenRightRowByIndex(index: number): Element;
2287
2287
  /**
@@ -2289,7 +2289,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
2289
2289
  *
2290
2290
  * @returns {Element[]} returns the element
2291
2291
  *
2292
-
2292
+ * @deprecated This method is deprecated. Use getRows method instead.
2293
2293
  */
2294
2294
  getFrozenRightRows(): Element[];
2295
2295
  /**
@@ -2297,7 +2297,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
2297
2297
  *
2298
2298
  * @returns {Element[]} Returns the Element
2299
2299
  *
2300
-
2300
+ * @deprecated This method is deprecated. Use getDataRows method instead.
2301
2301
  */
2302
2302
  getFrozenRightDataRows(): Element[];
2303
2303
  /**
@@ -2307,7 +2307,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
2307
2307
  * @param {number} columnIndex - Specifies the column index.
2308
2308
  * @returns {Element} Returns the Element
2309
2309
  *
2310
-
2310
+ * @deprecated This method is deprecated. Use getCellFromIndex method instead.
2311
2311
  */
2312
2312
  getFrozenRightCellFromIndex(rowIndex: number, columnIndex: number): Element;
2313
2313
  /**
@@ -2316,7 +2316,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
2316
2316
  * @param {number} index - Specifies the column index.
2317
2317
  * @returns {Element} Returns the Element
2318
2318
  *
2319
-
2319
+ * @deprecated This method is deprecated. Use getColumnHeaderByIndex method instead.
2320
2320
  */
2321
2321
  getFrozenLeftColumnHeaderByIndex(index: number): Element;
2322
2322
  /**
@@ -2325,7 +2325,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
2325
2325
  * @param {number} index - Specifies the column index.
2326
2326
  * @returns {Element} Returns the Element
2327
2327
  *
2328
-
2328
+ * @deprecated This method is deprecated. Use getColumnHeaderByIndex method instead.
2329
2329
  */
2330
2330
  getFrozenRightColumnHeaderByIndex(index: number): Element;
2331
2331
  /**
@@ -2334,7 +2334,7 @@ export declare class TreeGrid extends Component<HTMLElement> implements INotifyP
2334
2334
  * @param {number} index - Specifies the column index.
2335
2335
  * @returns {Element} Returns the Element
2336
2336
  *
2337
-
2337
+ * @deprecated This method is deprecated. Use getColumnHeaderByIndex method instead.
2338
2338
  */
2339
2339
  getMovableColumnHeaderByIndex(index: number): Element;
2340
2340
  /**
@@ -1,22 +1,22 @@
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
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
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
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Component, addClass, createElement, EventHandler, isNullOrUndefined, extend, merge, SanitizeHtmlHelper } from '@syncfusion/ej2-base';
21
21
  import { removeClass, Complex, Collection, getValue } from '@syncfusion/ej2-base';
22
22
  import { Event, Property, NotifyPropertyChanges, setValue, KeyboardEvents, L10n } from '@syncfusion/ej2-base';
@@ -2582,11 +2582,6 @@ var TreeGrid = /** @class */ (function (_super) {
2582
2582
  rowData.hasChildRecords = record.hasChildRecords;
2583
2583
  rowData.parentUniqueID = record.parentUniqueID;
2584
2584
  rowData.expanded = record.expanded;
2585
- if (this.enableVirtualization) {
2586
- this.grid.selectionModule.selectedRowIndexes = this.grid.selectionModule.selectedRowIndexes.indexOf(record.index) === -1
2587
- && (this.selectedRowIndex >= 0 && this.selectedRowIndex !== record.index) ? [record.index] :
2588
- this.grid.selectionModule.selectedRowIndexes;
2589
- }
2590
2585
  this.grid.setRowData(key, rowData);
2591
2586
  var visibleRecords = this.getVisibleRecords();
2592
2587
  if (visibleRecords.length > 0 && key === (visibleRecords[visibleRecords.length - 1])["" + primaryKey]) {
@@ -4393,7 +4388,7 @@ var TreeGrid = /** @class */ (function (_super) {
4393
4388
  * @param {number} columnIndex - Specifies the column index.
4394
4389
  * @returns {Element} - Returns movable cell element from the indexes passed
4395
4390
  *
4396
-
4391
+ * @deprecated This method is deprecated. Use getCellFromIndex method instead.
4397
4392
  */
4398
4393
  TreeGrid.prototype.getMovableCellFromIndex = function (rowIndex, columnIndex) {
4399
4394
  return this.grid.getCellFromIndex(rowIndex, columnIndex);
@@ -4403,7 +4398,7 @@ var TreeGrid = /** @class */ (function (_super) {
4403
4398
  *
4404
4399
  * @returns {Element[]} - Returns element collection of movable rows
4405
4400
  *
4406
-
4401
+ * @deprecated This method is deprecated. Use getDataRows method instead.
4407
4402
  */
4408
4403
  TreeGrid.prototype.getMovableDataRows = function () {
4409
4404
  return this.grid.getDataRows();
@@ -4414,7 +4409,7 @@ var TreeGrid = /** @class */ (function (_super) {
4414
4409
  * @param {number} index - Specifies the row index.
4415
4410
  * @returns {Element} - Returns movable row based on index passed
4416
4411
  *
4417
-
4412
+ * @deprecated This method is deprecated. Use getRowByIndex method instead.
4418
4413
  */
4419
4414
  TreeGrid.prototype.getMovableRowByIndex = function (index) {
4420
4415
  return this.grid.getRowByIndex(index);
@@ -4423,7 +4418,7 @@ var TreeGrid = /** @class */ (function (_super) {
4423
4418
  * Gets the TreeGrid's movable content rows from frozen treegrid.
4424
4419
  *
4425
4420
  * @returns {Element[]}: Returns movable row element
4426
-
4421
+ * @deprecated This method is deprecated. Use getRows method instead.
4427
4422
  */
4428
4423
  TreeGrid.prototype.getMovableRows = function () {
4429
4424
  return this.grid.getRows();
@@ -4434,7 +4429,7 @@ var TreeGrid = /** @class */ (function (_super) {
4434
4429
  * @param {number} index - Specifies the row index.
4435
4430
  * @returns {Element} returns the element
4436
4431
  *
4437
-
4432
+ * @deprecated This method is deprecated. Use getRowByIndex method instead.
4438
4433
  */
4439
4434
  TreeGrid.prototype.getFrozenRightRowByIndex = function (index) {
4440
4435
  return this.grid.getRowByIndex(index);
@@ -4444,7 +4439,7 @@ var TreeGrid = /** @class */ (function (_super) {
4444
4439
  *
4445
4440
  * @returns {Element[]} returns the element
4446
4441
  *
4447
-
4442
+ * @deprecated This method is deprecated. Use getRows method instead.
4448
4443
  */
4449
4444
  TreeGrid.prototype.getFrozenRightRows = function () {
4450
4445
  return this.grid.getRows();
@@ -4454,7 +4449,7 @@ var TreeGrid = /** @class */ (function (_super) {
4454
4449
  *
4455
4450
  * @returns {Element[]} Returns the Element
4456
4451
  *
4457
-
4452
+ * @deprecated This method is deprecated. Use getDataRows method instead.
4458
4453
  */
4459
4454
  TreeGrid.prototype.getFrozenRightDataRows = function () {
4460
4455
  return this.grid.getDataRows();
@@ -4466,7 +4461,7 @@ var TreeGrid = /** @class */ (function (_super) {
4466
4461
  * @param {number} columnIndex - Specifies the column index.
4467
4462
  * @returns {Element} Returns the Element
4468
4463
  *
4469
-
4464
+ * @deprecated This method is deprecated. Use getCellFromIndex method instead.
4470
4465
  */
4471
4466
  TreeGrid.prototype.getFrozenRightCellFromIndex = function (rowIndex, columnIndex) {
4472
4467
  return this.grid.getCellFromIndex(rowIndex, columnIndex);
@@ -4477,7 +4472,7 @@ var TreeGrid = /** @class */ (function (_super) {
4477
4472
  * @param {number} index - Specifies the column index.
4478
4473
  * @returns {Element} Returns the Element
4479
4474
  *
4480
-
4475
+ * @deprecated This method is deprecated. Use getColumnHeaderByIndex method instead.
4481
4476
  */
4482
4477
  TreeGrid.prototype.getFrozenLeftColumnHeaderByIndex = function (index) {
4483
4478
  return this.grid.getColumnHeaderByIndex(index);
@@ -4488,7 +4483,7 @@ var TreeGrid = /** @class */ (function (_super) {
4488
4483
  * @param {number} index - Specifies the column index.
4489
4484
  * @returns {Element} Returns the Element
4490
4485
  *
4491
-
4486
+ * @deprecated This method is deprecated. Use getColumnHeaderByIndex method instead.
4492
4487
  */
4493
4488
  TreeGrid.prototype.getFrozenRightColumnHeaderByIndex = function (index) {
4494
4489
  return this.grid.getColumnHeaderByIndex(index);
@@ -4499,7 +4494,7 @@ var TreeGrid = /** @class */ (function (_super) {
4499
4494
  * @param {number} index - Specifies the column index.
4500
4495
  * @returns {Element} Returns the Element
4501
4496
  *
4502
-
4497
+ * @deprecated This method is deprecated. Use getColumnHeaderByIndex method instead.
4503
4498
  */
4504
4499
  TreeGrid.prototype.getMovableColumnHeaderByIndex = function (index) {
4505
4500
  return this.grid.getColumnHeaderByIndex(index);
@@ -1,4 +1,4 @@
1
- import { Property, ChildProperty } from '@syncfusion/ej2-base';
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
2
 
3
3
  /**
4
4
  * Interface for a class ColumnChooserSettings
@@ -6,57 +6,57 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';
6
6
  export interface ColumnChooserSettingsModel {
7
7
 
8
8
  /**
9
- * Defines the search operator for column chooser.
10
- *
11
- * @default 'startsWith'
12
- * @blazorType Syncfusion.Blazor.Operator
13
- * @blazorDefaultValue Syncfusion.Blazor.Operator.StartsWith
14
- */
15
- operator?: string;
9
+ * Defines the search operator for column chooser.
10
+ *
11
+ * @default 'startsWith'
12
+ * @blazorType Syncfusion.Blazor.Operator
13
+ * @blazorDefaultValue Syncfusion.Blazor.Operator.StartsWith
14
+ */
15
+ operator?: string;
16
16
 
17
17
  /**
18
- * If ignoreAccent set to true, then ignores the diacritic characters or accents while searching in column chooser dialog.
19
- *
20
- * @default false
21
- */
22
- ignoreAccent?: boolean;
18
+ * If ignoreAccent set to true, then ignores the diacritic characters or accents while searching in column chooser dialog.
19
+ *
20
+ * @default false
21
+ */
22
+ ignoreAccent?: boolean;
23
23
 
24
24
  /**
25
- * Defines the custom header elements for the column chooser header template.
26
- *
27
- * @default null
28
- * @aspType string
29
- */
30
- headerTemplate?: string | Function;
25
+ * Defines the custom header elements for the column chooser header template.
26
+ *
27
+ * @default null
28
+ * @aspType string
29
+ */
30
+ headerTemplate?: string | Function;
31
31
 
32
32
  /**
33
- * Defines the custom content elements for the column chooser content template.
34
- *
35
- * @default null
36
- * @aspType string
37
- */
38
- template?: string | Function;
33
+ * Defines the custom content elements for the column chooser content template.
34
+ *
35
+ * @default null
36
+ * @aspType string
37
+ */
38
+ template?: string | Function;
39
39
 
40
40
  /**
41
- * Defines the custom footer elements for the column chooser footer template.
42
- *
43
- * @default null
44
- * @aspType string
45
- */
46
- footerTemplate?: string | Function;
41
+ * Defines the custom footer elements for the column chooser footer template.
42
+ *
43
+ * @default null
44
+ * @aspType string
45
+ */
46
+ footerTemplate?: string | Function;
47
47
 
48
48
  /**
49
- * Enables or disables the search option in the column chooser.
50
- *
51
- * @default true
52
- */
53
- enableSearching?: boolean;
49
+ * Enables or disables the search option in the column chooser.
50
+ *
51
+ * @default true
52
+ */
53
+ enableSearching?: boolean;
54
54
 
55
55
  /**
56
- * Renders a custom component to replace or extend the default column chooser UI.
57
- * @param target - The target HTML element where the custom component will be appended in the column chooser dialog.
58
- * @aspType string
59
- */
60
- renderCustomColumnChooser?: string | Function;
56
+ * Renders a custom component to replace or extend the default column chooser UI.
57
+ * @param target - The target HTML element where the custom component will be appended in the column chooser dialog.
58
+ * @aspType string
59
+ */
60
+ renderCustomColumnChooser?: string | Function;
61
61
 
62
62
  }
@@ -1,22 +1,22 @@
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
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
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
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Property, ChildProperty } from '@syncfusion/ej2-base';
21
21
  /**
22
22
  * Configures the column chooser behavior of the Grid.
@@ -1,4 +1,4 @@
1
- import { TextAlign, ClipMode, ValueAccessor, IFilter, IFilterUI, IEditCell, CommandModel, freezeDirection } from '@syncfusion/ej2-grids';import { NumberFormatOptions, DateFormatOptions, merge, Property } from '@syncfusion/ej2-base';import { ITreeGridCellFormatter } from '../base/interface';import { SortComparer} from '@syncfusion/ej2-grids';import { TreeGrid } from '..';
1
+ import { TextAlign, ClipMode, ValueAccessor, IFilter, IFilterUI, IEditCell, CommandModel, freezeDirection } from '@syncfusion/ej2-grids';
2
2
  import {ColumnModel} from "./column";
3
3
 
4
4
  /**
@@ -14,11 +14,11 @@ export interface ColumnModel {
14
14
  export interface TreeGridColumnModel extends ColumnModel{
15
15
 
16
16
  /**
17
- * Defines stacked columns
18
- *
19
- * @default null
20
- */
21
- columns?: string[] | ColumnModel[];
17
+ * Defines stacked columns
18
+ *
19
+ * @default null
20
+ */
21
+ columns?: string[] | ColumnModel[];
22
22
 
23
23
  }
24
24
 
@@ -1,22 +1,22 @@
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
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
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
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { merge, Property } from '@syncfusion/ej2-base';
21
21
  /**
22
22
  * Represents the "Column" model class for TreeGrid, defining essential properties and functionalities of a column.