@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
@@ -19,60 +19,53 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
|
|
19
19
|
childColumns: any;
|
20
20
|
tags: string[];
|
21
21
|
/**
|
22
|
-
* Defines the
|
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
|
-
*
|
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
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
57
|
-
*
|
58
|
-
*
|
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
|
-
*
|
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
|
-
*
|
71
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
133
|
-
* The
|
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
|
-
*
|
131
|
+
* Customizes filter options for the column, enabling specialized filtering functionality.
|
141
132
|
* @default null
|
142
133
|
*/
|
143
134
|
filter: any;
|
144
135
|
/**
|
145
|
-
*
|
146
|
-
*
|
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
|
-
*
|
184
|
-
*
|
185
|
-
* [
|
186
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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,
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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;
|