@syncfusion/ej2-treegrid 25.2.6 → 26.1.35-469198

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 (283) hide show
  1. package/.eslintrc.json +243 -259
  2. package/README.md +83 -83
  3. package/dist/ej2-treegrid.min.js +1 -10
  4. package/dist/ej2-treegrid.umd.min.js +1 -10
  5. package/dist/ej2-treegrid.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-treegrid.es2015.js +698 -530
  7. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  8. package/dist/es6/ej2-treegrid.es5.js +1215 -1046
  9. package/dist/es6/ej2-treegrid.es5.js.map +1 -1
  10. package/dist/global/ej2-treegrid.min.js +1 -10
  11. package/dist/global/ej2-treegrid.min.js.map +1 -1
  12. package/dist/global/index.d.ts +0 -9
  13. package/dist/ts/undefined +602 -0
  14. package/license +9 -9
  15. package/package.json +70 -70
  16. package/src/treegrid/actions/clipboard.js +13 -13
  17. package/src/treegrid/actions/edit.js +8 -7
  18. package/src/treegrid/actions/excel-export.js +4 -3
  19. package/src/treegrid/actions/logger.js +13 -13
  20. package/src/treegrid/actions/page.js +4 -0
  21. package/src/treegrid/actions/rowdragdrop.js +25 -14
  22. package/src/treegrid/actions/selection.js +4 -1
  23. package/src/treegrid/actions/virtual-scroll.js +13 -13
  24. package/src/treegrid/base/constant.js +2 -0
  25. package/src/treegrid/base/data.js +2 -1
  26. package/src/treegrid/base/interface.js +0 -1
  27. package/src/treegrid/base/treegrid-model.d.ts +875 -875
  28. package/src/treegrid/base/treegrid.js +260 -92
  29. package/src/treegrid/models/column-model.d.ts +6 -6
  30. package/src/treegrid/models/column.js +19 -19
  31. package/src/treegrid/models/edit-settings-model.d.ts +72 -72
  32. package/src/treegrid/models/edit-settings.js +19 -19
  33. package/src/treegrid/models/filter-settings-model.d.ts +206 -206
  34. package/src/treegrid/models/filter-settings.js +19 -19
  35. package/src/treegrid/models/infinite-scroll-settings-model.d.ts +16 -16
  36. package/src/treegrid/models/infinite-scroll-settings.js +19 -19
  37. package/src/treegrid/models/loading-indicator.js +19 -19
  38. package/src/treegrid/models/page-settings-model.d.ts +46 -46
  39. package/src/treegrid/models/page-settings.js +19 -19
  40. package/src/treegrid/models/rowdrop-settings-model.d.ts +6 -6
  41. package/src/treegrid/models/rowdrop-settings.js +19 -19
  42. package/src/treegrid/models/search-settings-model.d.ts +60 -60
  43. package/src/treegrid/models/search-settings.js +19 -19
  44. package/src/treegrid/models/selection-settings-model.d.ts +66 -66
  45. package/src/treegrid/models/selection-settings.js +19 -19
  46. package/src/treegrid/models/sort-settings-model.d.ts +24 -24
  47. package/src/treegrid/models/sort-settings.js +19 -19
  48. package/src/treegrid/models/summary-model.d.ts +64 -64
  49. package/src/treegrid/models/summary.js +19 -19
  50. package/src/treegrid/models/textwrap-settings-model.d.ts +9 -9
  51. package/src/treegrid/models/textwrap-settings.js +19 -19
  52. package/src/treegrid/renderer/virtual-row-model-generator.js +15 -15
  53. package/src/treegrid/renderer/virtual-tree-content-render.js +15 -14
  54. package/styles/bds-lite.css +745 -0
  55. package/styles/bds-lite.scss +18 -0
  56. package/styles/bds.css +765 -0
  57. package/styles/bds.scss +19 -0
  58. package/styles/bootstrap-dark-lite.css +506 -0
  59. package/styles/bootstrap-dark-lite.scss +18 -0
  60. package/styles/bootstrap-dark.css +187 -117
  61. package/styles/bootstrap-dark.scss +19 -1
  62. package/styles/bootstrap-lite.css +509 -0
  63. package/styles/bootstrap-lite.scss +18 -0
  64. package/styles/bootstrap.css +190 -121
  65. package/styles/bootstrap.scss +19 -1
  66. package/styles/bootstrap4-lite.css +550 -0
  67. package/styles/bootstrap4-lite.scss +18 -0
  68. package/styles/bootstrap4.css +194 -133
  69. package/styles/bootstrap4.scss +19 -1
  70. package/styles/bootstrap5-dark-lite.css +545 -0
  71. package/styles/bootstrap5-dark-lite.scss +18 -0
  72. package/styles/bootstrap5-dark.css +189 -123
  73. package/styles/bootstrap5-dark.scss +19 -1
  74. package/styles/bootstrap5-lite.css +545 -0
  75. package/styles/bootstrap5-lite.scss +18 -0
  76. package/styles/bootstrap5.3-lite.css +1637 -0
  77. package/styles/bootstrap5.3-lite.scss +18 -0
  78. package/styles/bootstrap5.3.css +1657 -0
  79. package/styles/bootstrap5.3.scss +19 -0
  80. package/styles/bootstrap5.css +188 -122
  81. package/styles/bootstrap5.scss +19 -1
  82. package/styles/fabric-dark-lite.css +485 -0
  83. package/styles/fabric-dark-lite.scss +18 -0
  84. package/styles/fabric-dark.css +188 -118
  85. package/styles/fabric-dark.scss +19 -1
  86. package/styles/fabric-lite.css +485 -0
  87. package/styles/fabric-lite.scss +18 -0
  88. package/styles/fabric.css +188 -111
  89. package/styles/fabric.scss +19 -1
  90. package/styles/fluent-dark-lite.css +548 -0
  91. package/styles/fluent-dark-lite.scss +18 -0
  92. package/styles/fluent-dark.css +195 -116
  93. package/styles/fluent-dark.scss +19 -1
  94. package/styles/fluent-lite.css +548 -0
  95. package/styles/fluent-lite.scss +18 -0
  96. package/styles/fluent.css +195 -116
  97. package/styles/fluent.scss +19 -1
  98. package/styles/fluent2-lite.css +1856 -0
  99. package/styles/fluent2-lite.scss +18 -0
  100. package/styles/fluent2.css +1879 -0
  101. package/styles/fluent2.scss +19 -0
  102. package/styles/highcontrast-light-lite.css +491 -0
  103. package/styles/highcontrast-light-lite.scss +18 -0
  104. package/styles/highcontrast-light.css +185 -103
  105. package/styles/highcontrast-light.scss +19 -1
  106. package/styles/highcontrast-lite.css +498 -0
  107. package/styles/highcontrast-lite.scss +18 -0
  108. package/styles/highcontrast.css +196 -107
  109. package/styles/highcontrast.scss +19 -1
  110. package/styles/material-dark-lite.css +567 -0
  111. package/styles/material-dark-lite.scss +18 -0
  112. package/styles/material-dark.css +220 -105
  113. package/styles/material-dark.scss +19 -1
  114. package/styles/material-lite.css +591 -0
  115. package/styles/material-lite.scss +18 -0
  116. package/styles/material.css +234 -129
  117. package/styles/material.scss +19 -1
  118. package/styles/material3-dark-lite.css +1666 -0
  119. package/styles/material3-dark-lite.scss +18 -0
  120. package/styles/material3-dark.css +1310 -187
  121. package/styles/material3-dark.scss +19 -1
  122. package/styles/material3-lite.css +1668 -0
  123. package/styles/material3-lite.scss +18 -0
  124. package/styles/material3.css +1311 -242
  125. package/styles/material3.scss +19 -1
  126. package/styles/tailwind-dark-lite.css +518 -0
  127. package/styles/tailwind-dark-lite.scss +18 -0
  128. package/styles/tailwind-dark.css +196 -103
  129. package/styles/tailwind-dark.scss +19 -1
  130. package/styles/tailwind-lite.css +518 -0
  131. package/styles/tailwind-lite.scss +18 -0
  132. package/styles/tailwind.css +196 -103
  133. package/styles/tailwind.scss +19 -1
  134. package/styles/tailwind3-lite.css +1697 -0
  135. package/styles/tailwind3-lite.scss +18 -0
  136. package/styles/tailwind3.css +1717 -0
  137. package/styles/tailwind3.scss +19 -0
  138. package/styles/treegrid/_all.scss +2 -2
  139. package/styles/treegrid/_bds-definition.scss +49 -28
  140. package/styles/treegrid/_bigger.scss +66 -0
  141. package/styles/treegrid/_bootstrap-dark-definition.scss +54 -30
  142. package/styles/treegrid/_bootstrap-definition.scss +54 -30
  143. package/styles/treegrid/_bootstrap4-definition.scss +54 -30
  144. package/styles/treegrid/_bootstrap5-definition.scss +49 -28
  145. package/styles/treegrid/_bootstrap5.3-definition.scss +49 -0
  146. package/styles/treegrid/_fabric-dark-definition.scss +54 -30
  147. package/styles/treegrid/_fabric-definition.scss +54 -30
  148. package/styles/treegrid/_fluent-definition.scss +50 -29
  149. package/styles/treegrid/_fluent2-definition.scss +49 -0
  150. package/styles/treegrid/_fusionnew-definition.scss +49 -28
  151. package/styles/treegrid/_highcontrast-definition.scss +54 -30
  152. package/styles/treegrid/_highcontrast-light-definition.scss +54 -30
  153. package/styles/treegrid/_icons.scss +47 -37
  154. package/styles/treegrid/_layout.scss +530 -455
  155. package/styles/treegrid/_material-dark-definition.scss +54 -30
  156. package/styles/treegrid/_material-definition.scss +54 -30
  157. package/styles/treegrid/_material3-definition.scss +49 -28
  158. package/styles/treegrid/_tailwind-definition.scss +49 -28
  159. package/styles/treegrid/_tailwind3-definition.scss +49 -0
  160. package/styles/treegrid/_theme.scss +1 -1
  161. package/styles/treegrid/bds.css +765 -0
  162. package/styles/treegrid/bds.scss +19 -0
  163. package/styles/treegrid/bootstrap-dark.css +187 -117
  164. package/styles/treegrid/bootstrap-dark.scss +1 -0
  165. package/styles/treegrid/bootstrap.css +190 -121
  166. package/styles/treegrid/bootstrap.scss +1 -0
  167. package/styles/treegrid/bootstrap4.css +194 -133
  168. package/styles/treegrid/bootstrap4.scss +1 -0
  169. package/styles/treegrid/bootstrap5-dark.css +189 -123
  170. package/styles/treegrid/bootstrap5-dark.scss +1 -0
  171. package/styles/treegrid/bootstrap5.3.css +1657 -0
  172. package/styles/treegrid/bootstrap5.3.scss +19 -0
  173. package/styles/treegrid/bootstrap5.css +188 -122
  174. package/styles/treegrid/bootstrap5.scss +1 -0
  175. package/styles/treegrid/fabric-dark.css +188 -118
  176. package/styles/treegrid/fabric-dark.scss +1 -0
  177. package/styles/treegrid/fabric.css +188 -111
  178. package/styles/treegrid/fabric.scss +1 -0
  179. package/styles/treegrid/fluent-dark.css +195 -116
  180. package/styles/treegrid/fluent-dark.scss +1 -0
  181. package/styles/treegrid/fluent.css +195 -116
  182. package/styles/treegrid/fluent.scss +1 -0
  183. package/styles/treegrid/fluent2.css +1879 -0
  184. package/styles/treegrid/fluent2.scss +19 -0
  185. package/styles/treegrid/highcontrast-light.css +185 -103
  186. package/styles/treegrid/highcontrast-light.scss +1 -0
  187. package/styles/treegrid/highcontrast.css +196 -107
  188. package/styles/treegrid/highcontrast.scss +1 -0
  189. package/styles/treegrid/icons/_bds.scss +37 -37
  190. package/styles/treegrid/icons/_bootstrap-dark.scss +47 -37
  191. package/styles/treegrid/icons/_bootstrap.scss +47 -37
  192. package/styles/treegrid/icons/_bootstrap4.scss +47 -37
  193. package/styles/treegrid/icons/_bootstrap5.3.scss +47 -0
  194. package/styles/treegrid/icons/_bootstrap5.scss +47 -37
  195. package/styles/treegrid/icons/_fabric-dark.scss +47 -37
  196. package/styles/treegrid/icons/_fabric.scss +47 -37
  197. package/styles/treegrid/icons/_fluent.scss +47 -37
  198. package/styles/treegrid/icons/_fluent2.scss +47 -0
  199. package/styles/treegrid/icons/_fusionnew.scss +30 -26
  200. package/styles/treegrid/icons/_highcontrast-light.scss +47 -37
  201. package/styles/treegrid/icons/_highcontrast.scss +47 -37
  202. package/styles/treegrid/icons/_material-dark.scss +47 -37
  203. package/styles/treegrid/icons/_material.scss +47 -37
  204. package/styles/treegrid/icons/_material3.scss +47 -37
  205. package/styles/treegrid/icons/_tailwind-dark.scss +47 -37
  206. package/styles/treegrid/icons/_tailwind.scss +47 -37
  207. package/styles/treegrid/icons/_tailwind3.scss +47 -0
  208. package/styles/treegrid/material-dark.css +220 -105
  209. package/styles/treegrid/material-dark.scss +1 -0
  210. package/styles/treegrid/material.css +234 -129
  211. package/styles/treegrid/material.scss +1 -0
  212. package/styles/treegrid/material3-dark.css +1310 -187
  213. package/styles/treegrid/material3-dark.scss +2 -1
  214. package/styles/treegrid/material3.css +1311 -242
  215. package/styles/treegrid/material3.scss +2 -1
  216. package/styles/treegrid/tailwind-dark.css +196 -103
  217. package/styles/treegrid/tailwind-dark.scss +1 -0
  218. package/styles/treegrid/tailwind.css +196 -103
  219. package/styles/treegrid/tailwind.scss +1 -0
  220. package/styles/treegrid/tailwind3.css +1717 -0
  221. package/styles/treegrid/tailwind3.scss +19 -0
  222. package/CHANGELOG.md +0 -264
  223. package/helpers/e2e/index.d.ts +0 -1
  224. package/helpers/e2e/index.js +0 -8
  225. package/helpers/e2e/treegridhelper.d.ts +0 -21
  226. package/helpers/e2e/treegridhelper.js +0 -83
  227. package/index.d.ts +0 -4
  228. package/index.js +0 -4
  229. package/src/index.d.ts +0 -4
  230. package/src/treegrid/actions/batch-edit.d.ts +0 -73
  231. package/src/treegrid/actions/clipboard.d.ts +0 -36
  232. package/src/treegrid/actions/column-chooser.d.ts +0 -37
  233. package/src/treegrid/actions/column-menu.d.ts +0 -24
  234. package/src/treegrid/actions/command-column.d.ts +0 -24
  235. package/src/treegrid/actions/context-menu.d.ts +0 -42
  236. package/src/treegrid/actions/crud-actions.d.ts +0 -66
  237. package/src/treegrid/actions/detail-row.d.ts +0 -39
  238. package/src/treegrid/actions/edit.d.ts +0 -112
  239. package/src/treegrid/actions/excel-export.d.ts +0 -59
  240. package/src/treegrid/actions/filter.d.ts +0 -57
  241. package/src/treegrid/actions/freeze-column.d.ts +0 -28
  242. package/src/treegrid/actions/index.d.ts +0 -24
  243. package/src/treegrid/actions/infinite-scroll.d.ts +0 -96
  244. package/src/treegrid/actions/logger.d.ts +0 -25
  245. package/src/treegrid/actions/page.d.ts +0 -67
  246. package/src/treegrid/actions/pdf-export.d.ts +0 -55
  247. package/src/treegrid/actions/print.d.ts +0 -37
  248. package/src/treegrid/actions/reorder.d.ts +0 -36
  249. package/src/treegrid/actions/resize.d.ts +0 -36
  250. package/src/treegrid/actions/rowdragdrop.d.ts +0 -113
  251. package/src/treegrid/actions/selection.d.ts +0 -51
  252. package/src/treegrid/actions/sort.d.ts +0 -63
  253. package/src/treegrid/actions/summary.d.ts +0 -47
  254. package/src/treegrid/actions/toolbar.d.ts +0 -52
  255. package/src/treegrid/actions/virtual-scroll.d.ts +0 -53
  256. package/src/treegrid/base/constant.d.ts +0 -160
  257. package/src/treegrid/base/data.d.ts +0 -90
  258. package/src/treegrid/base/index.d.ts +0 -11
  259. package/src/treegrid/base/interface.d.ts +0 -182
  260. package/src/treegrid/base/treegrid.d.ts +0 -2186
  261. package/src/treegrid/enum.d.ts +0 -155
  262. package/src/treegrid/index.d.ts +0 -9
  263. package/src/treegrid/models/column.d.ts +0 -752
  264. package/src/treegrid/models/edit-settings.d.ts +0 -90
  265. package/src/treegrid/models/filter-settings.d.ts +0 -203
  266. package/src/treegrid/models/index.d.ts +0 -24
  267. package/src/treegrid/models/infinite-scroll-settings.d.ts +0 -25
  268. package/src/treegrid/models/loading-indicator.d.ts +0 -19
  269. package/src/treegrid/models/page-settings.d.ts +0 -60
  270. package/src/treegrid/models/rowdrop-settings.d.ts +0 -27
  271. package/src/treegrid/models/search-settings.d.ts +0 -71
  272. package/src/treegrid/models/selection-settings.d.ts +0 -79
  273. package/src/treegrid/models/sort-settings.d.ts +0 -40
  274. package/src/treegrid/models/summary.d.ts +0 -124
  275. package/src/treegrid/models/textwrap-settings.d.ts +0 -16
  276. package/src/treegrid/renderer/index.d.ts +0 -5
  277. package/src/treegrid/renderer/render.d.ts +0 -41
  278. package/src/treegrid/renderer/virtual-row-model-generator.d.ts +0 -16
  279. package/src/treegrid/renderer/virtual-tree-content-render.d.ts +0 -75
  280. package/src/treegrid/utils.d.ts +0 -70
  281. package/treegrid.d.ts +0 -4
  282. package/treegrid.js +0 -4
  283. package/tslint.json +0 -111
@@ -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 TreeGrid `Column` model class.
@@ -1,4 +1,4 @@
1
- import { ChildProperty, Property } from '@syncfusion/ej2-base';import { EditMode, RowPosition } from '../enum';import { IDialogUI } from '@syncfusion/ej2-grids';
1
+ import { ChildProperty, Property } from '@syncfusion/ej2-base';
2
2
 
3
3
  /**
4
4
  * Interface for a class EditSettings
@@ -6,96 +6,96 @@ import { ChildProperty, Property } from '@syncfusion/ej2-base';import { EditMode
6
6
  export interface EditSettingsModel {
7
7
 
8
8
  /**
9
- * If `allowAdding` is set to true, new records can be added to the TreeGrid.
10
- *
11
- * @default false
12
- */
13
- allowAdding?: boolean;
9
+ * If `allowAdding` is set to true, new records can be added to the TreeGrid.
10
+ *
11
+ * @default false
12
+ */
13
+ allowAdding?: boolean;
14
14
 
15
15
  /**
16
- * If `allowEditing` is set to true, values can be updated in the existing record.
17
- *
18
- * @default false
19
- */
20
- allowEditing?: boolean;
16
+ * If `allowEditing` is set to true, values can be updated in the existing record.
17
+ *
18
+ * @default false
19
+ */
20
+ allowEditing?: boolean;
21
21
 
22
22
  /**
23
- * If `allowDeleting` is set to true, existing record can be deleted from the TreeGrid.
24
- *
25
- * @default false
26
- */
27
- allowDeleting?: boolean;
23
+ * If `allowDeleting` is set to true, existing record can be deleted from the TreeGrid.
24
+ *
25
+ * @default false
26
+ */
27
+ allowDeleting?: boolean;
28
28
 
29
29
  /**
30
- * Defines the mode to edit. The available editing modes are:
31
- * ```props
32
- * * Cell :- Defines the editing mode as Cell.
33
- * * Row :- Defines the editing mode as Row.
34
- * * Dialog :- Defines the editing mode as Dialog.
35
- * * Batch :- Defines the editing mode as Batch.
36
- * ```
37
- *
38
- * @default Cell
39
- * @isEnumeration true
40
- */
41
- mode?: EditMode;
30
+ * Defines the mode to edit. The available editing modes are:
31
+ * ```props
32
+ * * Cell :- Defines the editing mode as Cell.
33
+ * * Row :- Defines the editing mode as Row.
34
+ * * Dialog :- Defines the editing mode as Dialog.
35
+ * * Batch :- Defines the editing mode as Batch.
36
+ * ```
37
+ *
38
+ * @default Cell
39
+ * @isEnumeration true
40
+ */
41
+ mode?: EditMode;
42
42
 
43
43
  /**
44
- * Defines the row position for new records. The available row positions are:
45
- * ```props
46
- * * Top :- Defines the row position as Top.
47
- * * Bottom :- Defines the row position as Bottom.
48
- * * Above :- Defines the row position as Above.
49
- * * Below :- Defines the row position as Below.
50
- * * Child :- Defines the row position as Child.
51
- * ```
52
- * {% codeBlock src='treegrid/newRowPosition/index.md' %}{% endcodeBlock %}
53
- *
54
- * @default Top
55
- */
56
- newRowPosition?: RowPosition;
44
+ * Defines the row position for new records. The available row positions are:
45
+ * ```props
46
+ * * Top :- Defines the row position as Top.
47
+ * * Bottom :- Defines the row position as Bottom.
48
+ * * Above :- Defines the row position as Above.
49
+ * * Below :- Defines the row position as Below.
50
+ * * Child :- Defines the row position as Child.
51
+ * ```
52
+ * {% codeBlock src='treegrid/newRowPosition/index.md' %}{% endcodeBlock %}
53
+ *
54
+ * @default Top
55
+ */
56
+ newRowPosition?: RowPosition;
57
57
 
58
58
  /**
59
- * If `allowEditOnDblClick` is set to false, TreeGrid will not allow editing of a record on double click.
60
- *
61
- * @default true
62
- */
63
- allowEditOnDblClick?: boolean;
59
+ * If `allowEditOnDblClick` is set to false, TreeGrid will not allow editing of a record on double click.
60
+ *
61
+ * @default true
62
+ */
63
+ allowEditOnDblClick?: boolean;
64
64
 
65
65
  /**
66
- * if `showConfirmDialog` is set to false, confirm dialog does not show when batch changes are saved or discarded.
67
- *
68
- * @default true
69
- */
70
- showConfirmDialog?: boolean;
66
+ * if `showConfirmDialog` is set to false, confirm dialog does not show when batch changes are saved or discarded.
67
+ *
68
+ * @default true
69
+ */
70
+ showConfirmDialog?: boolean;
71
71
 
72
72
  /**
73
- * If `showDeleteConfirmDialog` is set to true, confirm dialog will show delete action. You can also cancel delete command.
74
- *
75
- * @default false
76
- */
77
- showDeleteConfirmDialog?: boolean;
73
+ * If `showDeleteConfirmDialog` is set to true, confirm dialog will show delete action. You can also cancel delete command.
74
+ *
75
+ * @default false
76
+ */
77
+ showDeleteConfirmDialog?: boolean;
78
78
 
79
79
  /**
80
- * Defines the custom edit elements for the dialog template.
81
- *
82
- * @default ''
83
- * @aspType string
84
- */
85
- template?: string | Function;
80
+ * Defines the custom edit elements for the dialog template.
81
+ *
82
+ * @default ''
83
+ * @aspType string
84
+ */
85
+ template?: string | Function;
86
86
 
87
87
  /**
88
- * Defines the dialog params to edit.
89
- *
90
- * @default {}
91
- */
92
- dialog?: IDialogUI;
88
+ * Defines the dialog params to edit.
89
+ *
90
+ * @default {}
91
+ */
92
+ dialog?: IDialogUI;
93
93
 
94
94
  /**
95
- * If `allowNextRowEdit` is set as true, editing is continued to next row with keyboard navigation.
96
- *
97
- * @default false
98
- */
99
- allowNextRowEdit?: boolean;
95
+ * If `allowNextRowEdit` is set as true, editing is continued to next row with keyboard navigation.
96
+ *
97
+ * @default false
98
+ */
99
+ allowNextRowEdit?: boolean;
100
100
 
101
101
  }
@@ -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 { ChildProperty, Property } from '@syncfusion/ej2-base';
21
21
  /**
22
22
  * Configures the edit behavior of the TreeGrid.