@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.
- package/@syncfusion/ej2-angular-treegrid.es5.js +1 -1
- package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -1
- package/@syncfusion/ej2-angular-treegrid.js +1 -1
- package/@syncfusion/ej2-angular-treegrid.js.map +1 -1
- package/README.md +6 -6
- package/dist/ej2-angular-treegrid.umd.js +1 -3
- package/dist/ej2-angular-treegrid.umd.js.map +1 -1
- package/dist/ej2-angular-treegrid.umd.min.js +2 -2
- package/dist/ej2-angular-treegrid.umd.min.js.map +1 -1
- package/package.json +9 -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
@@ -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
|
26
|
-
* To
|
27
|
-
*
|
28
|
-
* * sum
|
29
|
-
* * average
|
30
|
-
* * max
|
31
|
-
* * min
|
32
|
-
* * count
|
33
|
-
* * falsecount
|
34
|
-
* * truecount
|
35
|
-
* * custom
|
36
|
-
*
|
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
|
-
*
|
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
|
49
|
-
*
|
50
|
-
*
|
51
|
-
*
|
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
|
-
*
|
57
|
+
* Specifies the column name on which to perform the aggregation.
|
57
58
|
* @default null
|
58
59
|
*/
|
59
60
|
field: any;
|
60
61
|
/**
|
61
|
-
*
|
62
|
-
*
|
63
|
-
* [
|
64
|
-
* and [
|
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
|
71
|
-
*
|
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
|
-
*
|
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
|
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
|
-
*
|
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
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
56
|
-
*
|
57
|
-
*
|
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
|
-
*
|
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
|
-
*
|
70
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
132
|
-
* The
|
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
|
-
*
|
130
|
+
* Customizes filter options for the column, enabling specialized filtering functionality.
|
140
131
|
* @default null
|
141
132
|
*/
|
142
133
|
filter: any;
|
143
134
|
/**
|
144
|
-
*
|
145
|
-
*
|
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
|
-
*
|
183
|
-
*
|
184
|
-
* [
|
185
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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,
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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;
|