@syncfusion/ej2-angular-treegrid 28.2.6 → 29.1.33

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.
@@ -19,60 +19,53 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
19
19
  childColumns: any;
20
20
  tags: string[];
21
21
  /**
22
- * Defines the data type of the column.
22
+ * Defines the type of data stored in the column, which may be string, number, date, or other types.
23
23
  * @default null
24
24
  */
25
25
  type: any;
26
26
  /**
27
- * If `allowEditing` set to false, then it disables editing of a particular column.
28
- * By default all columns are editable.
27
+ * Controls whether editing is permitted for the column. By default, all columns are editable.
29
28
  * @default true
30
29
  */
31
30
  allowEditing: any;
32
31
  /**
33
- * If `allowFiltering` set to false, then it disables filtering option and filter bar element of a particular column.
34
- * By default all columns are filterable.
32
+ * Controls whether the column supports filtering. If set to false, users cannot filter data by this column.
35
33
  * @default true
36
34
  */
37
35
  allowFiltering: any;
38
36
  /**
39
- * If `allowReordering` set to false, then it disables reorder of a particular column.
40
- * By default all columns can be reorder.
37
+ * Enables or disables the reordering of this column via drag-and-drop. Allows for dynamic column adjustments.
41
38
  * @default true
42
39
  */
43
40
  allowReordering: any;
44
41
  /**
45
- * If `allowResizing` set to false, it disables resize option of a particular column.
42
+ * Determines if this column can be resized. If false, the column size is fixed.
46
43
  * @default true
47
44
  */
48
45
  allowResizing: any;
49
46
  /**
50
- * If `allowSorting` set to false, then it disables sorting option of a particular column.
51
- * By default all columns are sortable.
47
+ * Specifies whether sorting is enabled for this column. Set to false to prevent sort actions.
52
48
  * @default true
53
49
  */
54
50
  allowSorting: any;
55
51
  /**
56
- * Defines the cell content's overflow mode. The available modes are
57
- *
58
- * also it will display tooltip while hover on ellipsis applied cell.
52
+ * Determines how overflow content is handled within a cell. Options include:
53
+ * * `Clip`: Truncates the content.
54
+ * * `Ellipsis`: Shows ellipsis for overflow.
55
+ * * `EllipsisWithTooltip`: Shows ellipsis and tooltip on hover.
59
56
  * @default Syncfusion.EJ2.Grids.ClipMode.Ellipsis
60
57
  * @isenumeration true
61
58
  * @asptype Syncfusion.EJ2.Grids.ClipMode
62
59
  */
63
60
  clipMode: any;
64
61
  /**
65
- * Used to render multiple header rows(stacked headers) on TreeGrid header.
62
+ * Allows for the creation of stacked headers by using multiple rows in the grid's header.
66
63
  * @default null
67
64
  */
68
65
  columns: any;
69
66
  /**
70
- * `commands` provides an option to display command buttons in every cell.
71
- * The available built-in command buttons are
72
- * * Edit - Edit the record.
73
- * * Delete - Delete the record.
74
- * * Save - Save the record.
75
- * * Cancel - Cancel the edit state.
67
+ * Provides built-in command button options for cells. Options include Edit, Delete, Save, and Cancel.
68
+ * Custom command button implementations are possible.
76
69
  *
77
70
  * The following code example implements the custom command column.
78
71
  *```html
@@ -99,53 +92,49 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
99
92
  */
100
93
  commands: any;
101
94
  /**
102
- * The CSS styles and attributes of the content cells of a particular column can be customized.
95
+ * Enables the addition of CSS styles and attributes for the content cells in a particular column.
103
96
  * @default null
104
97
  */
105
98
  customAttributes: any;
106
99
  /**
107
- * Defines default values for the component when adding a new record to the TreeGrid.
100
+ * Sets default values when new records are added to the TreeGrid involving this column.
108
101
  * @default null
109
102
  */
110
103
  defaultValue: any;
111
104
  /**
112
- * If `disableHtmlEncode` is set to true, it encodes the HTML of the header and content cells.
105
+ * If set to `true`, the HTML content within header and content cells is encoded to prevent injection attacks.
113
106
  * @default true
114
107
  */
115
108
  disableHtmlEncode: any;
116
109
  /**
117
- * If `displayAsCheckBox` is set to true, it displays the column value as a check box instead of Boolean value.
110
+ * Displays the column value as a checkbox instead of a Boolean value when set to `true`.
118
111
  * @default false
119
112
  */
120
113
  displayAsCheckBox: any;
121
114
  /**
122
- * Defines the `IEditCell` object to customize default edit cell.
115
+ * Allows customizing the default edit cell through the `IEditCell` object for more control over editing.
123
116
  * @default {}
124
117
  */
125
118
  edit: any;
126
119
  /**
127
- * Defines the type of component for editing.
120
+ * Specifies the component type used for editing cells within this column.
128
121
  * @default 'stringedit'
129
122
  */
130
123
  editType: any;
131
124
  /**
132
- * Defines the field name of column which is mapped with mapping name of DataSource.
133
- * The bounded columns can be sort, filter etc.,
134
- * The `field` name must be a valid JavaScript identifier,
135
- * the first character must be an alphabet and should not contain spaces and special characters.
125
+ * Specifies the field name in the data source to which the column is bound. This field is used for operations like sorting and filtering.
126
+ * The field name must be a valid JavaScript identifier, beginning with a letter and avoiding spaces and special characters.
136
127
  * @default 'undefined'
137
128
  */
138
129
  field: any;
139
130
  /**
140
- * Defines the filter options to customize filtering for the particular column.
131
+ * Customizes filter options for the column, enabling specialized filtering functionality.
141
132
  * @default null
142
133
  */
143
134
  filter: any;
144
135
  /**
145
- * The `filterBarTemplate` is used to add a custom component instead of default input component for filter bar.
146
- * It have create and read functions.
147
- * * create: It is used for creating custom components.
148
- * * read: It is used to perform custom filter action.
136
+ * Allows for a custom component within the filter bar, facilitating advanced filter interfaces.
137
+ * Includes create and read functions for custom component management.
149
138
  *
150
139
  * ```html
151
140
  *<div id="TreeGrid"></div>
@@ -170,7 +159,7 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
170
159
  * gridObj.filterByColumn(args.element.id, 'equal', args.element.value);
171
160
  * }
172
161
  * }
173
- * }],
162
+ *}],
174
163
  * allowFiltering: true
175
164
  *});
176
165
  *gridObj.appendTo('#TreeGrid');
@@ -180,35 +169,33 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
180
169
  */
181
170
  filterBarTemplate: any;
182
171
  /**
183
- * It is used to change display value with the given format and does not affect the original data.
184
- * Gets the format from the user which can be standard or custom
185
- * [`number`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
186
- * and [`date`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string-1) formats.
172
+ * Formats the displayed value of the column without affecting the underlying data. Supports standard and custom formats for numbers and dates.
173
+ *
174
+ * References for [number](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
175
+ *and [date](https://ej2.syncfusion.com/documentation/common/internationalization#date-formatting) formats.
187
176
  * @default null
188
177
  * @asptype string
189
178
  */
190
179
  format: any;
191
180
  /**
192
- * Defines the method which is used to achieve custom formatting from an external function.
193
- * This function triggers before rendering of each cell.
181
+ * Allows for custom cell content formatting using an external method, executed prior to rendering.
194
182
  * @default null
195
183
  */
196
184
  formatter: any;
197
185
  /**
198
- * Defines which side the column need to freeze
186
+ * Determines which side (left, right, or center) the column should be frozen on.
199
187
  * @default Syncfusion.EJ2.Grids.FreezeDirection.None
200
188
  * @isenumeration true
201
189
  * @asptype Syncfusion.EJ2.Grids.FreezeDirection
202
190
  */
203
191
  freeze: any;
204
192
  /**
205
- * Defines the header text of column which is used to display in column header.
206
- * If `headerText` is not defined, then field name value will be assigned to header text.
193
+ * Specifies the text displayed in the column header. If omitted, the `field` value is used as the header text.
207
194
  * @default 'undefined'
208
195
  */
209
196
  headerText: any;
210
197
  /**
211
- * Define the alignment of column header which is used to align the text of column header.
198
+ * Aligns the text in the column header. By default, the alignment corresponds to other content alignments.
212
199
  * @default null
213
200
  * @aspdefaultvalueignore
214
201
  * @isenumeration true
@@ -216,120 +203,113 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
216
203
  */
217
204
  headerTextAlign: any;
218
205
  /**
219
- * Column visibility can change based on [`Media Queries`](http://cssmediaqueries.com/what-are-css-media-queries.html).
220
- * `hideAtMedia` accepts only valid Media Queries.
206
+ * 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.
221
207
  * @default 'undefined'
222
208
  */
223
209
  hideAtMedia: any;
224
210
  /**
225
- * You can use this property to freeze selected columns in grid.
211
+ * Allows the column to be frozen, keeping it stationary while scrolling horizontally through the grid.
226
212
  * @default false
227
213
  */
228
214
  isFrozen: any;
229
215
  /**
230
- * If `isIdentity` is set to true, then this column is considered as identity column.
216
+ * Identifies the column as an identity column in database terms, if set to `true`.
231
217
  * @default false
232
218
  */
233
219
  isIdentity: any;
234
220
  /**
235
- * If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
221
+ * Identifies the column as a primary key if set to `true`, enforcing uniqueness.
236
222
  * @default false
237
223
  */
238
224
  isPrimaryKey: any;
239
225
  /**
240
- * If `lockColumn` set to true, then it disables Reordering of a particular column.
241
- * The locked column will be moved to first position.
226
+ * Prevents column reordering when set to true, locking the column into a set position.
242
227
  * @default false
243
228
  */
244
229
  lockColumn: any;
245
230
  /**
246
- * Defines the maximum width of the column in pixels or percentage, which will restrict resizing beyond this pixels or percentage.
231
+ * Defines the maximum allowable width of the column in pixels or as a percentage, preventing resizing beyond this limit.
247
232
  * @default 'undefined'
248
233
  */
249
234
  maxWidth: any;
250
235
  /**
251
- * Defines the minimum width of the column in pixels or percentage.
236
+ * Determines the minimum width of the column in pixels or percentage. This ensures the column does not shrink below this size.
252
237
  * @default 'undefined'
253
238
  */
254
239
  minWidth: any;
255
240
  /**
256
- * If `showCheckbox` set to true, then the checkboxes will be displayed in particular column.
241
+ * Displays checkboxes in the column when enabled, allowing for selections and certain operations.
257
242
  * @default false
258
243
  */
259
244
  showCheckbox: any;
260
245
  /**
261
- * If `showColumnMenu` set to false, then it disable the column menu of a particular column.
262
- * By default column menu will show for all columns
246
+ * Decides if the column menu should be available, providing options for column customization.
263
247
  * @default true
264
248
  */
265
249
  showColumnMenu: any;
266
250
  /**
267
- * If `showInColumnChooser` set to false, then hide the particular column in column chooser.
268
- * By default all columns are displayed in column Chooser.
251
+ * Determines whether the column should appear in the Column Chooser. Set to false to exclude it.
269
252
  * @default true
270
253
  */
271
254
  showInColumnChooser: any;
272
255
  /**
273
- * Defines the sort comparer property.
256
+ * Provides a custom sort comparer property to control how sorting is handled for this column's data.
274
257
  * @default 'undefined'
275
258
  */
276
259
  sortComparer: any;
277
260
  /**
278
- * Defines the alignment of the column in both header and content cells.
261
+ * Specifies the horizontal alignment for the column content and header. Options include alignment to the left, center, or right.
279
262
  * @default Syncfusion.EJ2.Grids.TextAlign.Left
280
263
  * @isenumeration true
281
264
  * @asptype Syncfusion.EJ2.Grids.TextAlign
282
265
  */
283
266
  textAlign: any;
284
267
  /**
285
- * Gets the unique identifier value of the column. It is used to get the object.
268
+ * Retrieves the unique identifier for the column. This UID is used internally to reference and manipulate the column.
286
269
  * @default 'undefined'
287
270
  */
288
271
  uid: any;
289
272
  /**
290
- * Defines rules to validate data before creating and updating.
273
+ * Establishes validation rules to ensure data integrity during creation and updates.
291
274
  * @default null
292
275
  */
293
276
  validationRules: any;
294
277
  /**
295
- * Defines the method used to apply custom cell values from external function and display this on each cell rendered.
278
+ * Applies custom cell values using an external function, allowing for dynamic display adjustments.
296
279
  * @default null
297
280
  */
298
281
  valueAccessor: any;
299
282
  /**
300
- * If `visible` is set to false, hides the particular column. By default, columns are displayed.
283
+ * Toggles the visibility of the column. Set to false to hide the column from view. Columns are visible by default.
301
284
  * @default true
302
285
  */
303
286
  visible: any;
304
287
  /**
305
- * Defines the width of the column in pixels or percentage.
288
+ * Sets the column's width in pixels or as a percentage. This defines how the column will occupy space in the grid.
306
289
  * @default 'undefined'
307
290
  */
308
291
  width: any;
309
292
  /**
310
- * Defines the column template that renders customized element in each cell of the column.
311
- * It accepts either [template string](https://ej2.syncfusion.com/documentation/common/template-engine/) or HTML element ID.
293
+ * Customizes the rendering of cell content using either a template string or HTML element ID.
312
294
  * @default null
313
295
  * @asptype string
314
296
  */
315
297
  template: any;
316
298
  /**
317
- * Defines the header template as string or HTML element ID which is used to add customized element in the column header.
299
+ * Customizes the header content with a template, defined as a string or an HTML element ID.
318
300
  * @default null
319
301
  * @asptype string
320
302
  */
321
303
  headerTemplate: any;
322
304
  filter_itemTemplate: any;
323
305
  /**
324
- * Defines the filter template/UI that is used as filter for a particular column.
325
- * It accepts either template string or HTML element ID.
306
+ * Specifies a custom template or UI for filtering within this column, utilizing either string templates or HTML element IDs.
326
307
  * @aspignore
327
308
  */
328
309
  filterTemplate: any;
329
310
  commandsTemplate: any;
330
311
  /**
331
- * Defines the cell edit template that used as editor for a particular column.
332
- * It accepts either template string or HTML element ID.
312
+ * Provides a template for editing cells in this column, supporting either a template string or an HTML element ID.
333
313
  * @aspignore
334
314
  */
335
315
  editTemplate: any;