@syncfusion/ej2-angular-treegrid 28.2.6-ngcc → 29.1.33-ngcc

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