@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.
- package/CHANGELOG.md +0 -46
- package/README.md +6 -6
- package/esm2020/src/treegrid/aggregate-columns.directive.mjs +1 -1
- package/esm2020/src/treegrid/aggregates.directive.mjs +1 -1
- package/esm2020/src/treegrid/columns.directive.mjs +1 -1
- package/esm2020/src/treegrid/stacked-column.directive.mjs +1 -1
- package/esm2020/src/treegrid/treegrid.component.mjs +1 -1
- package/fesm2015/syncfusion-ej2-angular-treegrid.mjs.map +1 -1
- package/fesm2020/syncfusion-ej2-angular-treegrid.mjs.map +1 -1
- package/package.json +10 -9
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/treegrid/aggregate-columns.directive.d.ts +26 -28
- package/src/treegrid/aggregates.directive.d.ts +2 -2
- package/src/treegrid/columns.directive.d.ts +54 -74
- package/src/treegrid/stacked-column.directive.d.ts +54 -74
- package/src/treegrid/treegrid.component.d.ts +1 -1
@@ -21,60 +21,53 @@ export declare class StackedColumnDirective extends ComplexBase<StackedColumnDir
|
|
21
21
|
private viewContainerRef;
|
22
22
|
directivePropList: any;
|
23
23
|
/**
|
24
|
-
* Defines the
|
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
|
-
*
|
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
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
59
|
-
*
|
60
|
-
*
|
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
|
-
*
|
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
|
-
*
|
73
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
135
|
-
* The
|
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
|
-
*
|
133
|
+
* Customizes filter options for the column, enabling specialized filtering functionality.
|
143
134
|
* @default null
|
144
135
|
*/
|
145
136
|
filter: any;
|
146
137
|
/**
|
147
|
-
*
|
148
|
-
*
|
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
|
-
*
|
186
|
-
*
|
187
|
-
* [
|
188
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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,
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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 [
|
100
|
+
* > Check the [Row Template](../../treegrid/row) customization.
|
101
101
|
*
|
102
102
|
* @asptype string
|
103
103
|
*/
|