@syncfusion/ej2-treegrid 28.2.6 → 29.1.37

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 (84) hide show
  1. package/README.md +2 -2
  2. package/dist/ej2-treegrid.min.js +2 -2
  3. package/dist/ej2-treegrid.umd.min.js +2 -2
  4. package/dist/ej2-treegrid.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-treegrid.es2015.js +1281 -519
  6. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  7. package/dist/es6/ej2-treegrid.es5.js +1283 -519
  8. package/dist/es6/ej2-treegrid.es5.js.map +1 -1
  9. package/dist/global/ej2-treegrid.min.js +2 -2
  10. package/dist/global/ej2-treegrid.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +10 -10
  13. package/src/treegrid/actions/batch-edit.js +12 -5
  14. package/src/treegrid/actions/edit.js +12 -12
  15. package/src/treegrid/actions/page.js +1 -1
  16. package/src/treegrid/actions/rowdragdrop.d.ts +21 -1
  17. package/src/treegrid/actions/rowdragdrop.js +252 -48
  18. package/src/treegrid/actions/summary.js +1 -1
  19. package/src/treegrid/actions/virtual-scroll.d.ts +34 -1
  20. package/src/treegrid/actions/virtual-scroll.js +58 -11
  21. package/src/treegrid/base/constant.d.ts +0 -4
  22. package/src/treegrid/base/constant.js +0 -4
  23. package/src/treegrid/base/data.js +47 -46
  24. package/src/treegrid/base/treegrid-model.d.ts +195 -208
  25. package/src/treegrid/base/treegrid.d.ts +598 -411
  26. package/src/treegrid/base/treegrid.js +526 -307
  27. package/src/treegrid/enum.d.ts +77 -80
  28. package/src/treegrid/enum.js +2 -2
  29. package/src/treegrid/models/column.d.ts +122 -177
  30. package/src/treegrid/models/column.js +14 -26
  31. package/src/treegrid/models/edit-settings-model.d.ts +24 -25
  32. package/src/treegrid/models/edit-settings.d.ts +25 -26
  33. package/src/treegrid/models/edit-settings.js +1 -1
  34. package/src/treegrid/models/filter-settings-model.d.ts +41 -49
  35. package/src/treegrid/models/filter-settings.d.ts +43 -51
  36. package/src/treegrid/models/filter-settings.js +2 -2
  37. package/src/treegrid/models/infinite-scroll-settings-model.d.ts +4 -4
  38. package/src/treegrid/models/infinite-scroll-settings.d.ts +4 -4
  39. package/src/treegrid/models/infinite-scroll-settings.js +1 -1
  40. package/src/treegrid/models/loading-indicator-model.d.ts +3 -4
  41. package/src/treegrid/models/loading-indicator.d.ts +4 -4
  42. package/src/treegrid/models/loading-indicator.js +1 -1
  43. package/src/treegrid/models/page-settings-model.d.ts +10 -13
  44. package/src/treegrid/models/page-settings.d.ts +11 -14
  45. package/src/treegrid/models/page-settings.js +1 -1
  46. package/src/treegrid/models/rowdrop-settings-model.d.ts +1 -1
  47. package/src/treegrid/models/rowdrop-settings.d.ts +13 -6
  48. package/src/treegrid/models/rowdrop-settings.js +1 -1
  49. package/src/treegrid/models/search-settings-model.d.ts +13 -11
  50. package/src/treegrid/models/search-settings.d.ts +14 -12
  51. package/src/treegrid/models/search-settings.js +1 -1
  52. package/src/treegrid/models/selection-settings-model.d.ts +18 -29
  53. package/src/treegrid/models/selection-settings.d.ts +18 -29
  54. package/src/treegrid/models/sort-settings-model.d.ts +8 -5
  55. package/src/treegrid/models/sort-settings.d.ts +10 -7
  56. package/src/treegrid/models/sort-settings.js +2 -2
  57. package/src/treegrid/models/summary-model.d.ts +28 -29
  58. package/src/treegrid/models/summary.d.ts +32 -30
  59. package/src/treegrid/models/summary.js +4 -1
  60. package/src/treegrid/models/textwrap-settings-model.d.ts +7 -4
  61. package/src/treegrid/models/textwrap-settings.d.ts +8 -5
  62. package/src/treegrid/models/textwrap-settings.js +1 -1
  63. package/src/treegrid/renderer/render.js +11 -5
  64. package/src/treegrid/renderer/virtual-row-model-generator.js +5 -4
  65. package/src/treegrid/renderer/virtual-tree-content-render.d.ts +277 -0
  66. package/src/treegrid/renderer/virtual-tree-content-render.js +328 -35
  67. package/src/treegrid/utils.d.ts +1 -1
  68. package/styles/bootstrap-lite.css +0 -12
  69. package/styles/bootstrap.css +0 -12
  70. package/styles/bootstrap5-dark-lite.css +1 -1
  71. package/styles/bootstrap5-dark.css +1 -1
  72. package/styles/treegrid/_layout.scss +0 -1
  73. package/styles/treegrid/_material-dark-definition.scss +2 -2
  74. package/styles/treegrid/_material-definition.scss +2 -2
  75. package/styles/treegrid/bootstrap.css +0 -12
  76. package/styles/treegrid/bootstrap5-dark.css +1 -1
  77. package/styles/treegrid/icons/_bootstrap.scss +0 -17
  78. package/styles/treegrid/icons/_bootstrap5.scss +1 -1
  79. package/styles/treegrid/icons/_fabric-dark.scss +1 -1
  80. package/styles/treegrid/icons/_fabric.scss +1 -1
  81. package/styles/treegrid/icons/_fluent2.scss +1 -1
  82. package/styles/treegrid/icons/_fusionnew.scss +1 -0
  83. package/styles/treegrid/icons/_highcontrast-light.scss +1 -1
  84. package/styles/treegrid/icons/_tailwind-dark.scss +2 -2
@@ -3,214 +3,204 @@ import { NumberFormatOptions, DateFormatOptions } from '@syncfusion/ej2-base';
3
3
  import { ITreeGridCellFormatter } from '../base/interface';
4
4
  import { SortComparer } from '@syncfusion/ej2-grids';
5
5
  /**
6
- * Represents TreeGrid `Column` model class.
6
+ * Represents the "Column" model class for TreeGrid, defining essential properties and functionalities of a column.
7
7
  */
8
8
  export declare class Column {
9
9
  /**
10
- * Defines the field name of column which is mapped with mapping name of DataSource.
11
- * The bounded columns can be sort, filter etc.,
12
- * The `field` name must be a valid JavaScript identifier,
13
- * the first character must be an alphabet and should not contain spaces and special characters.
10
+ * Maps the column to a specific field name in the data source.
11
+ * Columns with a defined `field` can be used for sorting, filtering, etc.
12
+ * The `field` name should conform to valid JavaScript identifiers - starting with an alphabet, avoiding spaces and special characters.
14
13
  *
15
14
  * @default 'undefined'
16
15
  */
17
16
  field: string;
18
17
  /**
19
- * Defines the header text of column which is used to display in column header.
20
- * If `headerText` is not defined, then field name value will be assigned to header text.
18
+ * Specifies the text displayed in the column header. If not provided, the `field` value will be used.
21
19
  *
22
20
  * @default 'undefined'
23
21
  */
24
22
  headerText: string;
25
23
  /**
26
- * Gets the unique identifier value of the column. It is used to get the column object.
24
+ * Unique identifier for the column, used to reference the column object.
27
25
  *
28
26
  * @default 'undefined'
29
27
  */
30
28
  uid: string;
31
29
  /**
32
- * If `allowEditing` set to false, then it disables editing of a particular column.
33
- * By default all columns are editable.
30
+ * Allows or disallows editing of the column. Set to `false` to make a column non-editable.
31
+ * By default, all columns are editable.
34
32
  *
35
33
  * @default true
36
34
  */
37
35
  allowEditing: boolean;
38
36
  /**
39
- * If `showCheckbox` set to true, then the checkboxes will be displayed in particular column.
37
+ * When set to `true`, checkboxes are displayed within the column.
40
38
  *
41
39
  * @default false
42
40
  */
43
41
  showCheckbox: boolean;
44
42
  /**
45
- * Defines the custom sort comparer function.
46
- * The sort comparer function has the same functionality like
47
- * [`Array.sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) sort comparer.
48
- * {% codeBlock src="grid/sort-comparer-api/index.ts" %}{% endcodeBlock %}
43
+ * Custom sort comparer function for the column. Similar to the `Array.sort` comparer function.
49
44
  */
50
45
  sortComparer: SortComparer | string;
51
46
  /**
52
- * If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
47
+ * Designates this column as a primary key if set to `true`.
53
48
  *
54
49
  * @default false
55
50
  */
56
51
  isPrimaryKey: boolean;
57
52
  /**
58
53
  * @hidden
59
- * Defines the commands column template as string or HTML element ID which is used to add
60
- * customized command buttons in each cells of the column.
54
+ * Specifies a template for command buttons in column cells, either as an HTML element ID or a string.
61
55
  *
62
56
  * @aspType string
63
57
  */
64
58
  commandsTemplate: string | Function;
65
59
  /**
66
- * `commands` provides an option to display command buttons in every cell.
67
- * The available built-in command buttons are
68
- * * Edit - Edit the record.
69
- * * Delete - Delete the record.
70
- * * Save - Save the record.
71
- * * Cancel - Cancel the edit state.
60
+ * Options for displaying command buttons in each column cell.
61
+ * Built-in options include:
62
+ * * Edit - Modify the record.
63
+ * * Delete - Remove the record.
64
+ * * Save - Preserve changes to the record.
65
+ * * Cancel - Undo changes.
72
66
  *
73
67
  * @default null
74
68
  */
75
69
  commands: CommandModel[];
76
70
  /**
77
- * Defines the width of the column in pixels or percentage.
71
+ * Specifies the column width in pixels or percentage.
78
72
  *
79
73
  * @default 'undefined'
80
74
  */
81
75
  width: string | number;
82
76
  /**
83
- * Defines the type of component for editable.
77
+ * Defines the editor type for the column.
84
78
  *
85
79
  * @default 'stringedit'
86
80
  */
87
81
  editType: string;
88
82
  /**
89
- * Defines rules to validate data before creating and updating.
83
+ * Rules for validating data during creation and updation.
90
84
  *
91
85
  * @default null
92
86
  */
93
87
  validationRules: Object;
94
88
  /**
95
- * Defines default values for the component when adding a new record to the TreeGrid.
89
+ * Default value to use when adding a new record to the TreeGrid.
96
90
  *
97
91
  * @default null
98
92
  */
99
93
  defaultValue: string;
100
94
  /**
101
- * Defines the `IEditCell` object to customize default edit cell.
95
+ * Customization options for the edit cell.
102
96
  *
103
97
  * @default {}
104
98
  */
105
99
  edit: IEditCell;
106
100
  /**
107
- * Defines the cell edit template that used as editor for a particular column.
108
- * It accepts either template string or HTML element ID.
101
+ * Template for the cell editor of this column, either as a string or an HTML element ID.
109
102
  *
110
103
  * @default null
111
104
  * @aspIgnore
112
105
  */
113
106
  editTemplate: string | Function;
114
107
  /**
115
- * Defines the filter template/UI that used as filter for a particular column.
116
- * It accepts either template string or HTML element ID.
108
+ * Filter template/UI for the column, either as a string or an HTML element ID.
117
109
  *
118
110
  * @default null
119
111
  * @aspIgnore
120
112
  */
121
113
  filterTemplate: string | Function;
122
114
  /**
123
- * If `isIdentity` is set to true, then this column is considered as identity column.
115
+ * Marks the column as an identity column if set to `true`.
124
116
  *
125
117
  * @default false
126
118
  */
127
119
  isIdentity: boolean;
128
120
  /**
129
- * Defines the minimum Width of the column in pixels or percentage.
121
+ * Minimum width of the column in pixels or percentage.
130
122
  *
131
123
  * @default 'undefined'
132
124
  */
133
125
  minWidth: string | number;
134
126
  /**
135
- * Defines the maximum width of the column in pixel or percentage, which will restrict resizing beyond this pixel or percentage.
127
+ * Maximum width of the column in pixels or percentage, preventing resizing beyond this value.
136
128
  *
137
129
  * @default 'undefined'
138
130
  */
139
131
  maxWidth: string | number;
140
132
  /**
141
- * Defines the alignment of the column in both header and content cells.
133
+ * Alignment for the text in both header and content cells.
142
134
  *
143
135
  * @default Left
144
136
  */
145
137
  textAlign: TextAlign;
146
138
  /**
147
- * Defines the cell content's overflow mode. The available modes are
148
- * * `Clip` - Truncates the cell content when it overflows its area.
149
- * * `Ellipsis` - Displays ellipsis when the cell content overflows its area.
150
- * * `EllipsisWithTooltip` - Displays ellipsis when the cell content overflows its area
151
- * also it will display tooltip while hover on ellipsis applied cell.
139
+ * Sets how cell content should overflow:
140
+ * * `Clip` - Truncates overflow content.
141
+ * * `Ellipsis` - Shows ellipsis for overflow content.
142
+ * * `EllipsisWithTooltip` - Shows ellipsis with a tooltip on hover when content overflows.
152
143
  *
153
144
  * @default Ellipsis
154
145
  */
155
146
  clipMode: ClipMode;
156
147
  /**
157
- * Define the alignment of column header which is used to align the text of column header.
148
+ * Text alignment specifically for the column header.
158
149
  *
159
150
  * @default null
160
151
  */
161
152
  headerTextAlign: TextAlign;
162
153
  /**
163
- * If `disableHtmlEncode` is set to true, it encodes the HTML of the header and content cells.
154
+ * When set to `true`, encodes HTML content in headers and cells to prevent HTML injection.
164
155
  *
165
156
  * @default true
166
157
  */
167
158
  disableHtmlEncode: boolean;
168
159
  /**
169
- * Defines the data type of the column.
160
+ * Specifies the data type of the column.
170
161
  *
171
162
  * @default null
172
163
  */
173
164
  type: string;
174
165
  /**
175
- * It is used to change display value with the given format and does not affect the original data.
176
- * Gets the format from the user which can be standard or custom
177
- * [`number`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
178
- * and [`date`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string-1) formats.
166
+ * Allows display format customization, affecting only the display, not the actual data.
167
+ * Supported format options for numbers and dates can be provided.
168
+ *
169
+ * References for [number](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
170
+ * and [date](https://ej2.syncfusion.com/documentation/common/internationalization#date-formatting) formats.
179
171
  *
180
172
  * @default null
181
173
  * @aspType string
182
174
  */
183
175
  format: string | NumberFormatOptions | DateFormatOptions;
184
176
  /**
185
- * If `visible` is set to false, hides the particular column. By default, columns are displayed.
177
+ * Determines column visibility. When set to `false`, the column is hidden. By default, columns are visible.
186
178
  *
187
179
  * @default true
188
180
  */
189
181
  visible: boolean;
190
182
  /**
191
- * Defines the column template that renders customized element in each cell of the column.
192
- * It accepts either [template string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals)
193
- * or HTML element ID.
183
+ * Custom element rendering in each column cell. Accepts template strings or HTML element IDs.
194
184
  *
195
185
  * @default null
196
186
  * @aspType string
197
187
  */
198
188
  template: string | Function;
199
189
  /**
200
- * Defines the header template as string or HTML element ID which is used to add customized element in the column header.
190
+ * Template for a customized header element, either as a string or an HTML element ID.
201
191
  *
202
192
  * @default null
203
193
  * @aspType string
204
194
  */
205
195
  headerTemplate: string | Function;
206
196
  /**
207
- * You can use this property to freeze selected columns in treegrid
197
+ * Freezes the column if set to `true`.
208
198
  *
209
199
  * @default false
210
200
  */
211
201
  isFrozen: boolean;
212
202
  /**
213
- * The CSS styles and attributes of the content cells of a particular column can be customized.
203
+ * Custom styles and attributes for the content cells of the column.
214
204
  *
215
205
  * @default null
216
206
  */
@@ -218,49 +208,43 @@ export declare class Column {
218
208
  [x: string]: Object;
219
209
  };
220
210
  /**
221
- * If `displayAsCheckBox` is set to true, it displays the column value as a check box instead of Boolean value.
211
+ * Displays column values as checkboxes if set to `true`, instead of Boolean values.
222
212
  *
223
213
  * @default false
224
214
  */
225
215
  displayAsCheckBox: boolean;
226
216
  /**
227
- * If `allowReordering` set to false, then it disables reorder of a particular column.
228
- * By default all columns can be reorder.
217
+ * Disables column reordering if set to `false`. By default, columns can be reordered.
229
218
  *
230
219
  * @default true
231
220
  */
232
221
  allowReordering: boolean;
233
222
  /**
234
- * If `showColumnMenu` set to false, then it disable the column menu of a particular column.
235
- * By default column menu will show for all columns
223
+ * Disables column menu for the column if set to `false`. By default, column menus are enabled for all columns.
236
224
  *
237
225
  * @default true
238
226
  */
239
227
  showColumnMenu: boolean;
240
228
  /**
241
- * If `allowFiltering` set to false, then it disables filtering option and filter bar element of a particular column.
242
- * By default all columns are filterable.
229
+ * Disables filtering for the column if set to `false`. By default, columns are filterable.
243
230
  *
244
231
  * @default true
245
232
  */
246
233
  allowFiltering: boolean;
247
234
  /**
248
- * If `allowSorting` set to false, then it disables sorting option of a particular column.
249
- * By default all columns are sortable.
235
+ * Disables sorting for the column if set to `false`. By default, columns are sortable.
250
236
  *
251
237
  * @default true
252
238
  */
253
239
  allowSorting: boolean;
254
240
  /**
255
- * If `allowResizing` is set to false, it disables resize option of a particular column.
256
- * By default all the columns can be resized.
241
+ * Disables resizing for the column if set to `false`. By default, columns can be resized.
257
242
  *
258
243
  * @default true
259
244
  */
260
245
  allowResizing: boolean;
261
246
  /**
262
- * Defines the method which is used to achieve custom formatting from an external function.
263
- * This function triggers before rendering of each cell.
247
+ * Method for applying custom formatting to cell content prior to rendering.
264
248
  *
265
249
  * @default null
266
250
  */
@@ -268,65 +252,52 @@ export declare class Column {
268
252
  new (): ITreeGridCellFormatter;
269
253
  } | ITreeGridCellFormatter | Function;
270
254
  /**
271
- * Defines the method used to apply custom cell values from external function and display this on each cell rendered.
255
+ * Method for customizing cell values using an external function, applied during cell rendering.
272
256
  *
273
257
  * @default null
274
258
  */
275
259
  valueAccessor: ValueAccessor | string;
276
260
  /**
277
- * Used to render multiple header rows(stacked headers) on the TreeGrid header.
261
+ * Facilitates multiple header rows (stacked headers) in the TreeGrid header.
278
262
  *
279
263
  * @default null
280
264
  */
281
265
  columns: Column[] | string[] | ColumnModel[];
282
266
  /**
283
- * Column visibility can change based on [`Media Queries`](http://cssmediaqueries.com/what-are-css-media-queries.html).
284
- * `hideAtMedia` accepts only valid Media Queries.
267
+ * Adjusts column visibility based on [Media Queries](http://cssmediaqueries.com/what-are-css-media-queries.html). Accepts valid media query strings.
285
268
  *
286
269
  * @default 'undefined'
287
270
  */
288
271
  hideAtMedia: string;
289
272
  /**
290
- * If `showInColumnChooser` set to false, then hide the particular column in column chooser.
291
- * By default all columns are displayed in column Chooser.
273
+ * Excludes the column from the column chooser if set to `false`. By default, columns are included.
292
274
  *
293
275
  * @default true
294
276
  */
295
277
  showInColumnChooser?: boolean;
296
278
  /**
297
- * The `filterBarTemplate` is used to add a custom component instead of default input component for filter bar.
298
- * It have create and read functions.
299
- * * create: It is used for creating custom components.
300
- * * read: It is used to perform custom filter action.
301
- *
279
+ * Replaces the default input component for the filter bar with a custom component. Contains `create` and `read` functions for component management.
302
280
  *
303
281
  * @default null
304
282
  */
305
283
  filterBarTemplate: IFilterUI;
306
284
  /**
307
- * It is used to customize the default filter options for a specific columns.
308
- * * type - Specifies the filter type as menu.
309
- * * ui - to render custom component for specific column it has following functions.
310
- * * ui.create – It is used for creating custom components.
311
- * * ui.read - It is used for read the value from the component.
312
- * * ui.write - It is used to apply component model as dynamically.
285
+ * Customize default filter options for a specific column, providing types and UI definitions for custom components.
313
286
  *
314
- * @default null
287
+ * @default null
315
288
  */
316
289
  filter: IFilter;
317
290
  /**
318
- * If `lockColumn` set to true, then it disables Reordering of a particular column.
319
- * The locked column will be moved to first position.
291
+ * Locks the column to its position, preventing reordering, if set to `true`. Locked columns appear first.
320
292
  *
321
293
  * @default false
322
294
  */
323
295
  lockColumn: boolean;
324
296
  /**
325
- * defines which side the column need to freeze
326
- * The available built-in freeze directions are
327
- * * Left - Freeze the column at left side.
328
- * * Right - Freeze the column at right side.
329
- * * Fixed - Freeze the column at Center.
297
+ * Dictates the column freeze position. Options include:
298
+ * * `Left` - Freeze the column on the left.
299
+ * * `Right` - Freeze the column on the right.
300
+ * * `Fixed` - Freeze the column in the center.
330
301
  *
331
302
  * @default null
332
303
  */
@@ -334,9 +305,9 @@ export declare class Column {
334
305
  private parent;
335
306
  constructor(options: ColumnModel);
336
307
  /**
337
- * Update the State changes reflected for TreeGrid columndirective in react platform.
308
+ * Reflects state changes for TreeGrid column directives, particularly in React.
338
309
  *
339
- * @param {Column} column - specifies the column
310
+ * @param {Column} column - The column to update.
340
311
  * @returns {void}
341
312
  * @hidden
342
313
  */
@@ -347,53 +318,50 @@ export declare class Column {
347
318
  */
348
319
  export interface ColumnModel {
349
320
  /**
350
- * Defines the field name of column which is mapped with mapping name of DataSource.
351
- * The bounded columns can be sort, filter etc.,
352
- * The `field` name must be a valid JavaScript identifier,
353
- * the first character must be an alphabet and should not contain spaces and special characters.
321
+ * Specifies the field name in the data source to which the column is bound. This field is used for operations like sorting and filtering.
322
+ * The field name must be a valid JavaScript identifier, beginning with a letter and avoiding spaces and special characters.
354
323
  *
355
324
  * @default 'undefined'
356
325
  */
357
326
  field?: string;
358
327
  /**
359
- * Gets the unique identifier value of the column. It is used to get the object.
328
+ * Retrieves the unique identifier for the column. This UID is used internally to reference and manipulate the column.
360
329
  *
361
330
  * @default 'undefined'
362
331
  */
363
332
  uid?: string;
364
333
  /**
365
- * Defines the header text of column which is used to display in column header.
366
- * If `headerText` is not defined, then field name value will be assigned to header text.
334
+ * Specifies the text displayed in the column header. If omitted, the `field` value is used as the header text.
367
335
  *
368
336
  * @default 'undefined'
369
337
  */
370
338
  headerText?: string;
371
339
  /**
372
- * Defines the width of the column in pixels or percentage.
340
+ * Sets the column's width in pixels or as a percentage. This defines how the column will occupy space in the grid.
373
341
  *
374
342
  * @default 'undefined'
375
343
  */
376
344
  width?: string | number;
377
345
  /**
378
- * Defines the minimum width of the column in pixels or percentage.
346
+ * Determines the minimum width of the column in pixels or percentage. This ensures the column does not shrink below this size.
379
347
  *
380
348
  * @default 'undefined'
381
349
  */
382
350
  minWidth?: string | number;
383
351
  /**
384
- * Defines the sort comparer property.
352
+ * Provides a custom sort comparer property to control how sorting is handled for this column's data.
385
353
  *
386
354
  * @default 'undefined'
387
355
  */
388
356
  sortComparer?: SortComparer | string;
389
357
  /**
390
- * Defines the maximum width of the column in pixels or percentage, which will restrict resizing beyond this pixels or percentage.
358
+ * Defines the maximum allowable width of the column in pixels or as a percentage, preventing resizing beyond this limit.
391
359
  *
392
360
  * @default 'undefined'
393
361
  */
394
362
  maxWidth?: string | number;
395
363
  /**
396
- * Defines the alignment of the column in both header and content cells.
364
+ * Specifies the horizontal alignment for the column content and header. Options include alignment to the left, center, or right.
397
365
  *
398
366
  * @default Syncfusion.EJ2.Grids.TextAlign.Left
399
367
  * @isEnumeration true
@@ -401,19 +369,16 @@ export interface ColumnModel {
401
369
  */
402
370
  textAlign?: TextAlign;
403
371
  /**
404
- * Used to render multiple header rows(stacked headers) on TreeGrid header.
372
+ * Allows for the creation of stacked headers by using multiple rows in the grid's header.
405
373
  *
406
374
  * @default null
407
375
  */
408
376
  columns?: Column[] | string[] | ColumnModel[];
409
377
  /**
410
- * Defines the cell content's overflow mode. The available modes are
411
- * ```props
412
- * * Clip :- Truncates the cell content when it overflows its area.
413
- * * Ellipsis :- Displays ellipsis when the cell content overflows its area.
414
- * * EllipsisWithTooltip :- Displays ellipsis when the cell content overflows its area also it will display tooltip while hover on ellipsis applied cell.
415
- * ```
416
- * also it will display tooltip while hover on ellipsis applied cell.
378
+ * Determines how overflow content is handled within a cell. Options include:
379
+ * * `Clip`: Truncates the content.
380
+ * * `Ellipsis`: Shows ellipsis for overflow.
381
+ * * `EllipsisWithTooltip`: Shows ellipsis and tooltip on hover.
417
382
  *
418
383
  * @default Syncfusion.EJ2.Grids.ClipMode.Ellipsis
419
384
  * @isEnumeration true
@@ -421,7 +386,7 @@ export interface ColumnModel {
421
386
  */
422
387
  clipMode?: ClipMode;
423
388
  /**
424
- * Define the alignment of column header which is used to align the text of column header.
389
+ * Aligns the text in the column header. By default, the alignment corresponds to other content alignments.
425
390
  *
426
391
  * @default null
427
392
  * @aspDefaultValueIgnore
@@ -430,82 +395,72 @@ export interface ColumnModel {
430
395
  */
431
396
  headerTextAlign?: TextAlign;
432
397
  /**
433
- * If `disableHtmlEncode` is set to true, it encodes the HTML of the header and content cells.
398
+ * If set to `true`, the HTML content within header and content cells is encoded to prevent injection attacks.
434
399
  *
435
400
  * @default true
436
401
  */
437
402
  disableHtmlEncode?: boolean;
438
403
  /**
439
- * Defines the data type of the column.
404
+ * Defines the type of data stored in the column, which may be string, number, date, or other types.
440
405
  *
441
406
  * @default null
442
407
  */
443
408
  type?: string;
444
409
  /**
445
- * If `allowReordering` set to false, then it disables reorder of a particular column.
446
- * By default all columns can be reorder.
410
+ * Enables or disables the reordering of this column via drag-and-drop. Allows for dynamic column adjustments.
447
411
  *
448
412
  * @default true
449
413
  */
450
414
  allowReordering?: boolean;
451
415
  /**
452
- * If `allowFiltering` set to false, then it disables filtering option and filter bar element of a particular column.
453
- * By default all columns are filterable.
416
+ * Controls whether the column supports filtering. If set to false, users cannot filter data by this column.
454
417
  *
455
418
  * @default true
456
419
  */
457
420
  allowFiltering?: boolean;
458
421
  /**
459
- * If `allowSorting` set to false, then it disables sorting option of a particular column.
460
- * By default all columns are sortable.
422
+ * Specifies whether sorting is enabled for this column. Set to false to prevent sort actions.
461
423
  *
462
424
  * @default true
463
425
  */
464
426
  allowSorting?: boolean;
465
427
  /**
466
- * If `showColumnMenu` set to false, then it disable the column menu of a particular column.
467
- * By default column menu will show for all columns
428
+ * Decides if the column menu should be available, providing options for column customization.
468
429
  *
469
430
  * @default true
470
431
  */
471
432
  showColumnMenu?: boolean;
472
433
  /**
473
- * If `allowResizing` set to false, it disables resize option of a particular column.
434
+ * Determines if this column can be resized. If false, the column size is fixed.
474
435
  *
475
436
  * @default true
476
437
  */
477
438
  allowResizing?: boolean;
478
439
  /**
479
- * It is used to change display value with the given format and does not affect the original data.
480
- * Gets the format from the user which can be standard or custom
481
- * [`number`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
482
- * and [`date`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string-1) formats.
440
+ * Formats the displayed value of the column without affecting the underlying data. Supports standard and custom formats for numbers and dates.
483
441
  *
442
+ * References for [number](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
443
+ * and [date](https://ej2.syncfusion.com/documentation/common/internationalization#date-formatting) formats.
484
444
  * @default null
485
445
  * @aspType string
486
446
  */
487
447
  format?: string | NumberFormatOptions | DateFormatOptions;
488
448
  /**
489
- * If `visible` is set to false, hides the particular column. By default, columns are displayed.
449
+ * Toggles the visibility of the column. Set to false to hide the column from view. Columns are visible by default.
490
450
  *
491
451
  * @default true
492
452
  */
493
453
  visible?: boolean;
494
454
  /**
495
455
  * @hidden
496
- * Defines the commands column template as string or HTML element ID which is used to add
497
- * customized command buttons in each cells of the column.
456
+ * Specifies a string or HTML element ID for templates to add custom command buttons within cells.
498
457
  *
499
458
  * @aspType string
500
459
  */
501
460
  commandsTemplate?: string | Function;
502
461
  /**
503
- * `commands` provides an option to display command buttons in every cell.
504
- * The available built-in command buttons are
505
- * * Edit - Edit the record.
506
- * * Delete - Delete the record.
507
- * * Save - Save the record.
508
- * * Cancel - Cancel the edit state.
462
+ * Provides built-in command button options for cells. Options include Edit, Delete, Save, and Cancel.
463
+ * Custom command button implementations are possible.
509
464
  *
510
465
  * The following code example implements the custom command column.
511
466
  * ```html
@@ -532,28 +487,27 @@ export interface ColumnModel {
532
487
  */
533
488
  commands?: CommandModel[];
534
489
  /**
535
- * Defines the column template that renders customized element in each cell of the column.
536
- * It accepts either [template string](https://ej2.syncfusion.com/documentation/common/template-engine/) or HTML element ID.
490
+ * Customizes the rendering of cell content using either a template string or HTML element ID.
537
491
  *
538
492
  * @default null
539
493
  * @aspType string
540
494
  */
541
495
  template?: string | Function;
542
496
  /**
543
- * Defines the header template as string or HTML element ID which is used to add customized element in the column header.
497
+ * Customizes the header content with a template, defined as a string or an HTML element ID.
544
498
  *
545
499
  * @default null
546
500
  * @aspType string
547
501
  */
548
502
  headerTemplate?: string | Function;
549
503
  /**
550
- * You can use this property to freeze selected columns in grid.
504
+ * Allows the column to be frozen, keeping it stationary while scrolling horizontally through the grid.
551
505
  *
552
506
  * @default false
553
507
  */
554
508
  isFrozen?: boolean;
555
509
  /**
556
- * The CSS styles and attributes of the content cells of a particular column can be customized.
510
+ * Enables the addition of CSS styles and attributes for the content cells in a particular column.
557
511
  *
558
512
  * @default null
559
513
  */
@@ -561,14 +515,13 @@ export interface ColumnModel {
561
515
  [x: string]: Object;
562
516
  };
563
517
  /**
564
- * If `displayAsCheckBox` is set to true, it displays the column value as a check box instead of Boolean value.
518
+ * Displays the column value as a checkbox instead of a Boolean value when set to `true`.
565
519
  *
566
520
  * @default false
567
521
  */
568
522
  displayAsCheckBox?: boolean;
569
523
  /**
570
- * Defines the method which is used to achieve custom formatting from an external function.
571
- * This function triggers before rendering of each cell.
524
+ * Allows for custom cell content formatting using an external method, executed prior to rendering.
572
525
  *
573
526
  * @default null
574
527
  */
@@ -576,30 +529,26 @@ export interface ColumnModel {
576
529
  new (): ITreeGridCellFormatter;
577
530
  } | ITreeGridCellFormatter | Function;
578
531
  /**
579
- * If `showInColumnChooser` set to false, then hide the particular column in column chooser.
580
- * By default all columns are displayed in column Chooser.
532
+ * Determines whether the column should appear in the Column Chooser. Set to false to exclude it.
581
533
  *
582
534
  * @default true
583
535
  */
584
536
  showInColumnChooser?: boolean;
585
537
  /**
586
- * Defines the method used to apply custom cell values from external function and display this on each cell rendered.
538
+ * Applies custom cell values using an external function, allowing for dynamic display adjustments.
587
539
  *
588
540
  * @default null
589
541
  */
590
542
  valueAccessor?: ValueAccessor | string;
591
543
  /**
592
- * Column visibility can change based on [`Media Queries`](http://cssmediaqueries.com/what-are-css-media-queries.html).
593
- * `hideAtMedia` accepts only valid Media Queries.
544
+ * Adjusts column visibility based on [Media Queries](http://cssmediaqueries.com/what-are-css-media-queries.html). Accepts valid CSS media query strings for responsive adjustments.
594
545
  *
595
546
  * @default 'undefined'
596
547
  */
597
548
  hideAtMedia?: string;
598
549
  /**
599
- * The `filterBarTemplate` is used to add a custom component instead of default input component for filter bar.
600
- * It have create and read functions.
601
- * * create: It is used for creating custom components.
602
- * * read: It is used to perform custom filter action.
550
+ * Allows for a custom component within the filter bar, facilitating advanced filter interfaces.
551
+ * Includes create and read functions for custom component management.
603
552
  *
604
553
  * ```html
605
554
  * <div id="TreeGrid"></div>
@@ -624,7 +573,7 @@ export interface ColumnModel {
624
573
  * gridObj.filterByColumn(args.element.id, 'equal', args.element.value);
625
574
  * }
626
575
  * }
627
- * }],
576
+ * }],
628
577
  * allowFiltering: true
629
578
  * });
630
579
  * gridObj.appendTo('#TreeGrid');
@@ -634,83 +583,79 @@ export interface ColumnModel {
634
583
  */
635
584
  filterBarTemplate?: IFilterUI;
636
585
  /**
637
- * Defines the filter options to customize filtering for the particular column.
586
+ * Customizes filter options for the column, enabling specialized filtering functionality.
638
587
  *
639
- * @default null
588
+ * @default null
640
589
  */
641
590
  filter?: IFilter;
642
591
  /**
643
- * If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
592
+ * Identifies the column as a primary key if set to `true`, enforcing uniqueness.
644
593
  *
645
594
  * @default false
646
595
  */
647
596
  isPrimaryKey?: boolean;
648
597
  /**
649
- * If `showCheckbox` set to true, then the checkboxes will be displayed in particular column.
598
+ * Displays checkboxes in the column when enabled, allowing for selections and certain operations.
650
599
  *
651
600
  * @default false
652
601
  */
653
602
  showCheckbox?: boolean;
654
603
  /**
655
- * Defines the type of component for editing.
604
+ * Specifies the component type used for editing cells within this column.
656
605
  *
657
606
  * @default 'stringedit'
658
607
  */
659
608
  editType?: string;
660
609
  /**
661
- * Defines default values for the component when adding a new record to the TreeGrid.
610
+ * Sets default values when new records are added to the TreeGrid involving this column.
662
611
  *
663
612
  * @default null
664
613
  */
665
614
  defaultValue?: string;
666
615
  /**
667
- * Defines the `IEditCell` object to customize default edit cell.
616
+ * Allows customizing the default edit cell through the `IEditCell` object for more control over editing.
668
617
  *
669
618
  * @default {}
670
619
  */
671
620
  edit?: IEditCell;
672
621
  /**
673
- * Defines the cell edit template that used as editor for a particular column.
674
- * It accepts either template string or HTML element ID.
622
+ * Provides a template for editing cells in this column, supporting either a template string or an HTML element ID.
675
623
  *
676
624
  * @aspIgnore
677
625
  */
678
626
  editTemplate?: string | Function;
679
627
  /**
680
- * Defines the filter template/UI that is used as filter for a particular column.
681
- * It accepts either template string or HTML element ID.
628
+ * Specifies a custom template or UI for filtering within this column, utilizing either string templates or HTML element IDs.
682
629
  *
683
630
  * @aspIgnore
684
631
  */
685
632
  filterTemplate?: string | Function;
686
633
  /**
687
- * If `isIdentity` is set to true, then this column is considered as identity column.
634
+ * Identifies the column as an identity column in database terms, if set to `true`.
688
635
  *
689
636
  * @default false
690
637
  */
691
638
  isIdentity?: boolean;
692
639
  /**
693
- * Defines rules to validate data before creating and updating.
640
+ * Establishes validation rules to ensure data integrity during creation and updates.
694
641
  *
695
642
  * @default null
696
643
  */
697
644
  validationRules?: Object;
698
645
  /**
699
- * If `allowEditing` set to false, then it disables editing of a particular column.
700
- * By default all columns are editable.
646
+ * Controls whether editing is permitted for the column. By default, all columns are editable.
701
647
  *
702
648
  * @default true
703
649
  */
704
650
  allowEditing?: boolean;
705
651
  /**
706
- * If `lockColumn` set to true, then it disables Reordering of a particular column.
707
- * The locked column will be moved to first position.
652
+ * Prevents column reordering when set to true, locking the column into a set position.
708
653
  *
709
654
  * @default false
710
655
  */
711
656
  lockColumn?: boolean;
712
657
  /**
713
- * Defines which side the column need to freeze
658
+ * Determines which side (left, right, or center) the column should be frozen on.
714
659
  *
715
660
  * @default Syncfusion.EJ2.Grids.FreezeDirection.None
716
661
  * @isEnumeration true