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