@syncfusion/ej2-angular-treegrid 32.2.9 → 33.1.44-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.
Files changed (71) hide show
  1. package/@syncfusion/ej2-angular-treegrid.es5.js +818 -0
  2. package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-treegrid.js +768 -0
  4. package/@syncfusion/ej2-angular-treegrid.js.map +1 -0
  5. package/LICENSE +10 -0
  6. package/dist/ej2-angular-treegrid.umd.js +999 -0
  7. package/dist/ej2-angular-treegrid.umd.js.map +1 -0
  8. package/dist/ej2-angular-treegrid.umd.min.js +11 -0
  9. package/dist/ej2-angular-treegrid.umd.min.js.map +1 -0
  10. package/ej2-angular-treegrid.d.ts +5 -0
  11. package/ej2-angular-treegrid.metadata.json +1 -0
  12. package/package.json +10 -23
  13. package/public_api.d.ts +1 -1
  14. package/schematics/collection.json +10 -19
  15. package/schematics/ng-add/index.ts +10 -10
  16. package/schematics/ng-add/schema.json +34 -34
  17. package/schematics/ng-add/schema.ts +30 -30
  18. package/schematics/tsconfig.json +25 -25
  19. package/schematics/utils/lib-details.d.ts +2 -2
  20. package/schematics/utils/lib-details.js +2 -2
  21. package/schematics/utils/lib-details.ts +4 -4
  22. package/src/index.d.ts +8 -8
  23. package/src/treegrid/aggregate-columns.directive.d.ts +86 -91
  24. package/src/treegrid/aggregates.directive.d.ts +44 -49
  25. package/src/treegrid/columns.directive.d.ts +333 -338
  26. package/src/treegrid/stacked-column.directive.d.ts +335 -340
  27. package/src/treegrid/treegrid-all.module.d.ts +27 -33
  28. package/src/treegrid/treegrid.component.d.ts +140 -143
  29. package/src/treegrid/treegrid.module.d.ts +5 -15
  30. package/CHANGELOG.md +0 -266
  31. package/esm2020/public_api.mjs +0 -2
  32. package/esm2020/src/index.mjs +0 -9
  33. package/esm2020/src/treegrid/aggregate-columns.directive.mjs +0 -72
  34. package/esm2020/src/treegrid/aggregates.directive.mjs +0 -69
  35. package/esm2020/src/treegrid/columns.directive.mjs +0 -100
  36. package/esm2020/src/treegrid/stacked-column.directive.mjs +0 -100
  37. package/esm2020/src/treegrid/treegrid-all.module.mjs +0 -89
  38. package/esm2020/src/treegrid/treegrid.component.mjs +0 -271
  39. package/esm2020/src/treegrid/treegrid.module.mjs +0 -61
  40. package/esm2020/syncfusion-ej2-angular-treegrid.mjs +0 -5
  41. package/fesm2015/syncfusion-ej2-angular-treegrid.mjs +0 -734
  42. package/fesm2015/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
  43. package/fesm2020/syncfusion-ej2-angular-treegrid.mjs +0 -734
  44. package/fesm2020/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
  45. package/schematics/generators/treegrid-default/index.d.ts +0 -3
  46. package/schematics/generators/treegrid-default/index.js +0 -8
  47. package/schematics/generators/treegrid-default/index.ts +0 -8
  48. package/schematics/generators/treegrid-default/sample-details.d.ts +0 -5
  49. package/schematics/generators/treegrid-default/sample-details.js +0 -7
  50. package/schematics/generators/treegrid-default/sample-details.ts +0 -5
  51. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
  52. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  53. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -143
  54. package/schematics/generators/treegrid-default/schema.d.ts +0 -3
  55. package/schematics/generators/treegrid-default/schema.js +0 -2
  56. package/schematics/generators/treegrid-default/schema.json +0 -125
  57. package/schematics/generators/treegrid-default/schema.ts +0 -3
  58. package/schematics/generators/treegrid-feature/index.d.ts +0 -3
  59. package/schematics/generators/treegrid-feature/index.js +0 -8
  60. package/schematics/generators/treegrid-feature/index.ts +0 -8
  61. package/schematics/generators/treegrid-feature/sample-details.d.ts +0 -5
  62. package/schematics/generators/treegrid-feature/sample-details.js +0 -7
  63. package/schematics/generators/treegrid-feature/sample-details.ts +0 -5
  64. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
  65. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  66. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -144
  67. package/schematics/generators/treegrid-feature/schema.d.ts +0 -3
  68. package/schematics/generators/treegrid-feature/schema.js +0 -2
  69. package/schematics/generators/treegrid-feature/schema.json +0 -125
  70. package/schematics/generators/treegrid-feature/schema.ts +0 -3
  71. package/syncfusion-ej2-angular-treegrid.d.ts +0 -5
@@ -1,338 +1,333 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * `e-column` directive represent a column of the Angular TreeGrid.
6
- * It must be contained in a TreeGrid component(`ejs-treegrid`).
7
- * ```html
8
- * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
9
- * <e-columns>
10
- * <e-column field='ID' width='100'></e-column>
11
- * <e-column field='name' headerText='Name' width='100'></e-column>
12
- * </e-columns>
13
- * </ejs-treegrid>
14
- * ```
15
- */
16
- export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
17
- private viewContainerRef;
18
- directivePropList: any;
19
- childColumns: any;
20
- tags: string[];
21
- /**
22
- * Defines the type of data stored in the column, which may be string, number, date, or other types.
23
- * @default null
24
- */
25
- type: any;
26
- /**
27
- * Controls whether editing is permitted for the column. By default, all columns are editable.
28
- * @default true
29
- */
30
- allowEditing: any;
31
- /**
32
- * Controls whether the column supports filtering. If set to false, users cannot filter data by this column.
33
- * @default true
34
- */
35
- allowFiltering: any;
36
- /**
37
- * Enables or disables the reordering of this column via drag-and-drop. Allows for dynamic column adjustments.
38
- * @default true
39
- */
40
- allowReordering: any;
41
- /**
42
- * Determines if this column can be resized. If false, the column size is fixed.
43
- * @default true
44
- */
45
- allowResizing: any;
46
- /**
47
- * Specifies whether sorting is enabled for this column. Set to false to prevent sort actions.
48
- * @default true
49
- */
50
- allowSorting: any;
51
- /**
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.
56
- * @default Syncfusion.EJ2.Grids.ClipMode.Ellipsis
57
- * @isenumeration true
58
- * @asptype Syncfusion.EJ2.Grids.ClipMode
59
- */
60
- clipMode: any;
61
- /**
62
- * Allows for the creation of stacked headers by using multiple rows in the grid's header.
63
- * @default null
64
- */
65
- columns: any;
66
- /**
67
- * Provides built-in command button options for cells. Options include Edit, Delete, Save, and Cancel.
68
- * Custom command button implementations are possible.
69
- *
70
- * The following code example implements the custom command column.
71
- *```html
72
- *<style type="text/css" class="cssStyles">
73
- *.details-icon:before
74
- *{
75
- * content:"\e74d";
76
- *}
77
- *</style>
78
- *<div id="TreeGrid"></div>
79
- *```
80
- *```typescript
81
- *var gridObj = new TreeGrid({
82
- *datasource: window.gridData,
83
- *columns : [
84
- * { field: 'CustomerID', headerText: 'Customer ID' },
85
- * { field: 'CustomerName', headerText: 'Customer Name' },
86
- * {commands: [{buttonOption:{content: 'Details', click: onClick, cssClass: details-icon}}], headerText: 'Customer Details'}
87
- *]
88
- *gridObj.appendTo("#TreeGrid");
89
- *```
90
- *
91
- * @default null
92
- */
93
- commands: any;
94
- /**
95
- * Enables the addition of CSS styles and attributes for the content cells in a particular column.
96
- * @default null
97
- */
98
- customAttributes: any;
99
- /**
100
- * Sets default values when new records are added to the TreeGrid involving this column.
101
- * @default null
102
- */
103
- defaultValue: any;
104
- /**
105
- * If set to `true`, the HTML content within header and content cells is encoded to prevent injection attacks.
106
- * @default true
107
- */
108
- disableHtmlEncode: any;
109
- /**
110
- * Displays the column value as a checkbox instead of a Boolean value when set to `true`.
111
- * @default false
112
- */
113
- displayAsCheckBox: any;
114
- /**
115
- * Allows customizing the default edit cell through the `IEditCell` object for more control over editing.
116
- * @default {}
117
- */
118
- edit: any;
119
- /**
120
- * Specifies the component type used for editing cells within this column.
121
- * @default 'stringedit'
122
- */
123
- editType: any;
124
- /**
125
- * Allows treegrid to perform column spanning on the specified column.
126
- * @default true
127
- */
128
- enableColumnSpan: any;
129
- /**
130
- * Allows treegrid to perform row spanning on the specified column.
131
- * @default true
132
- */
133
- enableRowSpan: any;
134
- /**
135
- * Specifies the field name in the data source to which the column is bound. This field is used for operations like sorting and filtering.
136
- * The field name must be a valid JavaScript identifier, beginning with a letter and avoiding spaces and special characters.
137
- * @default 'undefined'
138
- */
139
- field: any;
140
- /**
141
- * Customizes filter options for the column, enabling specialized filtering functionality.
142
- * @default null
143
- */
144
- filter: any;
145
- /**
146
- * Allows for a custom component within the filter bar, facilitating advanced filter interfaces.
147
- * Includes create and read functions for custom component management.
148
- *
149
- * ```html
150
- *<div id="TreeGrid"></div>
151
- *```
152
- *```typescript
153
- *let gridObj: TreeGrid = new TreeGrid({
154
- *dataSource: filterData,
155
- *columns: [
156
- * { field: 'OrderID', headerText: 'Order ID' },
157
- * {
158
- * field: 'EmployeeID', filterBarTemplate: {
159
- * create: (args: { element: Element, column: Column }) => {
160
- * let input: HTMLInputElement = document.createElement('input');
161
- * input.id = 'EmployeeID';
162
- * input.type = 'text';
163
- * return input;
164
- * },
165
- * write: (args: { element: Element, column: Column }) => {
166
- * args.element.addEventListener('input', args.column.filterBarTemplate.read as EventListener);
167
- * },
168
- * read: (args: { element: HTMLInputElement, columnIndex: number, column: Column }) => {
169
- * gridObj.filterByColumn(args.element.id, 'equal', args.element.value);
170
- * }
171
- * }
172
- *}],
173
- * allowFiltering: true
174
- *});
175
- *gridObj.appendTo('#TreeGrid');
176
- *```
177
- *
178
- * @default null
179
- */
180
- filterBarTemplate: any;
181
- /**
182
- * Formats the displayed value of the column without affecting the underlying data. Supports standard and custom formats for numbers and dates.
183
- *
184
- * References for [number](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
185
- *and [date](https://ej2.syncfusion.com/documentation/common/internationalization#date-formatting) formats.
186
- * @default null
187
- * @asptype string
188
- */
189
- format: any;
190
- /**
191
- * Allows for custom cell content formatting using an external method, executed prior to rendering.
192
- * @default null
193
- */
194
- formatter: any;
195
- /**
196
- * Determines which side (left, right, or center) the column should be frozen on.
197
- * @default Syncfusion.EJ2.Grids.FreezeDirection.None
198
- * @isenumeration true
199
- * @asptype Syncfusion.EJ2.Grids.FreezeDirection
200
- */
201
- freeze: any;
202
- /**
203
- * Specifies the text displayed in the column header. If omitted, the `field` value is used as the header text.
204
- * @default 'undefined'
205
- */
206
- headerText: any;
207
- /**
208
- * Aligns the text in the column header. By default, the alignment corresponds to other content alignments.
209
- * @default null
210
- * @aspdefaultvalueignore
211
- * @isenumeration true
212
- * @asptype Syncfusion.EJ2.Grids.TextAlign
213
- */
214
- headerTextAlign: any;
215
- /**
216
- * 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.
217
- * @default 'undefined'
218
- */
219
- hideAtMedia: any;
220
- /**
221
- * Allows the column to be frozen, keeping it stationary while scrolling horizontally through the grid.
222
- * @default false
223
- */
224
- isFrozen: any;
225
- /**
226
- * Identifies the column as an identity column in database terms, if set to `true`.
227
- * @default false
228
- */
229
- isIdentity: any;
230
- /**
231
- * Identifies the column as a primary key if set to `true`, enforcing uniqueness.
232
- * @default false
233
- */
234
- isPrimaryKey: any;
235
- /**
236
- * Prevents column reordering when set to true, locking the column into a set position.
237
- * @default false
238
- */
239
- lockColumn: any;
240
- /**
241
- * Defines the maximum allowable width of the column in pixels or as a percentage, preventing resizing beyond this limit.
242
- * @default 'undefined'
243
- */
244
- maxWidth: any;
245
- /**
246
- * Determines the minimum width of the column in pixels or percentage. This ensures the column does not shrink below this size.
247
- * @default 'undefined'
248
- */
249
- minWidth: any;
250
- /**
251
- * Displays checkboxes in the column when enabled, allowing for selections and certain operations.
252
- * @default false
253
- */
254
- showCheckbox: any;
255
- /**
256
- * Decides if the column menu should be available, providing options for column customization.
257
- * @default true
258
- */
259
- showColumnMenu: any;
260
- /**
261
- * Determines whether the column should appear in the Column Chooser. Set to false to exclude it.
262
- * @default true
263
- */
264
- showInColumnChooser: any;
265
- /**
266
- * Provides a custom sort comparer property to control how sorting is handled for this column's data.
267
- * @default 'undefined'
268
- */
269
- sortComparer: any;
270
- /**
271
- * Specifies the horizontal alignment for the column content and header. Options include alignment to the left, center, or right.
272
- * @default Syncfusion.EJ2.Grids.TextAlign.Left
273
- * @isenumeration true
274
- * @asptype Syncfusion.EJ2.Grids.TextAlign
275
- */
276
- textAlign: any;
277
- /**
278
- * Retrieves the unique identifier for the column. This UID is used internally to reference and manipulate the column.
279
- * @default 'undefined'
280
- */
281
- uid: any;
282
- /**
283
- * Establishes validation rules to ensure data integrity during creation and updates.
284
- * @default null
285
- */
286
- validationRules: any;
287
- /**
288
- * Applies custom cell values using an external function, allowing for dynamic display adjustments.
289
- * @default null
290
- */
291
- valueAccessor: any;
292
- /**
293
- * Toggles the visibility of the column. Set to false to hide the column from view. Columns are visible by default.
294
- * @default true
295
- */
296
- visible: any;
297
- /**
298
- * Sets the column's width in pixels or as a percentage. This defines how the column will occupy space in the grid.
299
- * @default 'undefined'
300
- */
301
- width: any;
302
- /**
303
- * Customizes the rendering of cell content using either a template string or HTML element ID.
304
- * @default null
305
- * @asptype string
306
- */
307
- template: any;
308
- /**
309
- * Customizes the header content with a template, defined as a string or an HTML element ID.
310
- * @default null
311
- * @asptype string
312
- */
313
- headerTemplate: any;
314
- filter_itemTemplate: any;
315
- /**
316
- * Specifies a custom template or UI for filtering within this column, utilizing either string templates or HTML element IDs.
317
- * @aspignore
318
- */
319
- filterTemplate: any;
320
- commandsTemplate: any;
321
- /**
322
- * Provides a template for editing cells in this column, supporting either a template string or an HTML element ID.
323
- * @aspignore
324
- */
325
- editTemplate: any;
326
- constructor(viewContainerRef: ViewContainerRef);
327
- static ɵfac: i0.ɵɵFactoryDeclaration<ColumnDirective, never>;
328
- static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnDirective, "ejs-treegrid>e-columns>e-column", never, { "allowEditing": "allowEditing"; "allowFiltering": "allowFiltering"; "allowReordering": "allowReordering"; "allowResizing": "allowResizing"; "allowSorting": "allowSorting"; "clipMode": "clipMode"; "columns": "columns"; "commands": "commands"; "customAttributes": "customAttributes"; "defaultValue": "defaultValue"; "disableHtmlEncode": "disableHtmlEncode"; "displayAsCheckBox": "displayAsCheckBox"; "edit": "edit"; "editTemplate": "editTemplate"; "editType": "editType"; "enableColumnSpan": "enableColumnSpan"; "enableRowSpan": "enableRowSpan"; "field": "field"; "filter": "filter"; "filterBarTemplate": "filterBarTemplate"; "filterTemplate": "filterTemplate"; "format": "format"; "formatter": "formatter"; "freeze": "freeze"; "headerTemplate": "headerTemplate"; "headerText": "headerText"; "headerTextAlign": "headerTextAlign"; "hideAtMedia": "hideAtMedia"; "isFrozen": "isFrozen"; "isIdentity": "isIdentity"; "isPrimaryKey": "isPrimaryKey"; "lockColumn": "lockColumn"; "maxWidth": "maxWidth"; "minWidth": "minWidth"; "showCheckbox": "showCheckbox"; "showColumnMenu": "showColumnMenu"; "showInColumnChooser": "showInColumnChooser"; "sortComparer": "sortComparer"; "template": "template"; "textAlign": "textAlign"; "type": "type"; "uid": "uid"; "validationRules": "validationRules"; "valueAccessor": "valueAccessor"; "visible": "visible"; "width": "width"; }, {}, ["template", "headerTemplate", "filter_itemTemplate", "filterTemplate", "commandsTemplate", "editTemplate", "childColumns"]>;
329
- }
330
- /**
331
- * Column Array Directive
332
- * @private
333
- */
334
- export declare class ColumnsDirective extends ArrayBase<ColumnsDirective> {
335
- constructor();
336
- static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsDirective, never>;
337
- static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnsDirective, "ejs-treegrid>e-columns", never, {}, {}, ["children"]>;
338
- }
1
+ import { ViewContainerRef } from '@angular/core';
2
+ import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
+ /**
4
+ * `e-column` directive represent a column of the Angular TreeGrid.
5
+ * It must be contained in a TreeGrid component(`ejs-treegrid`).
6
+ * ```html
7
+ * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
8
+ * <e-columns>
9
+ * <e-column field='ID' width='100'></e-column>
10
+ * <e-column field='name' headerText='Name' width='100'></e-column>
11
+ * </e-columns>
12
+ * </ejs-treegrid>
13
+ * ```
14
+ */
15
+ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
16
+ private viewContainerRef;
17
+ directivePropList: any;
18
+ childColumns: any;
19
+ tags: string[];
20
+ /**
21
+ * Defines the type of data stored in the column, which may be string, number, date, or other types.
22
+ * @default null
23
+ */
24
+ type: any;
25
+ /**
26
+ * Controls whether editing is permitted for the column. By default, all columns are editable.
27
+ * @default true
28
+ */
29
+ allowEditing: any;
30
+ /**
31
+ * Controls whether the column supports filtering. If set to false, users cannot filter data by this column.
32
+ * @default true
33
+ */
34
+ allowFiltering: any;
35
+ /**
36
+ * Enables or disables the reordering of this column via drag-and-drop. Allows for dynamic column adjustments.
37
+ * @default true
38
+ */
39
+ allowReordering: any;
40
+ /**
41
+ * Determines if this column can be resized. If false, the column size is fixed.
42
+ * @default true
43
+ */
44
+ allowResizing: any;
45
+ /**
46
+ * Specifies whether sorting is enabled for this column. Set to false to prevent sort actions.
47
+ * @default true
48
+ */
49
+ allowSorting: any;
50
+ /**
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.
55
+ * @default Syncfusion.EJ2.Grids.ClipMode.Ellipsis
56
+ * @isenumeration true
57
+ * @asptype Syncfusion.EJ2.Grids.ClipMode
58
+ */
59
+ clipMode: any;
60
+ /**
61
+ * Allows for the creation of stacked headers by using multiple rows in the grid's header.
62
+ * @default null
63
+ */
64
+ columns: any;
65
+ /**
66
+ * Provides built-in command button options for cells. Options include Edit, Delete, Save, and Cancel.
67
+ * Custom command button implementations are possible.
68
+ *
69
+ * The following code example implements the custom command column.
70
+ *```html
71
+ *<style type="text/css" class="cssStyles">
72
+ *.details-icon:before
73
+ *{
74
+ * content:"\e74d";
75
+ *}
76
+ *</style>
77
+ *<div id="TreeGrid"></div>
78
+ *```
79
+ *```typescript
80
+ *var gridObj = new TreeGrid({
81
+ *datasource: window.gridData,
82
+ *columns : [
83
+ * { field: 'CustomerID', headerText: 'Customer ID' },
84
+ * { field: 'CustomerName', headerText: 'Customer Name' },
85
+ * {commands: [{buttonOption:{content: 'Details', click: onClick, cssClass: details-icon}}], headerText: 'Customer Details'}
86
+ *]
87
+ *gridObj.appendTo("#TreeGrid");
88
+ *```
89
+ *
90
+ * @default null
91
+ */
92
+ commands: any;
93
+ /**
94
+ * Enables the addition of CSS styles and attributes for the content cells in a particular column.
95
+ * @default null
96
+ */
97
+ customAttributes: any;
98
+ /**
99
+ * Sets default values when new records are added to the TreeGrid involving this column.
100
+ * @default null
101
+ */
102
+ defaultValue: any;
103
+ /**
104
+ * If set to `true`, the HTML content within header and content cells is encoded to prevent injection attacks.
105
+ * @default true
106
+ */
107
+ disableHtmlEncode: any;
108
+ /**
109
+ * Displays the column value as a checkbox instead of a Boolean value when set to `true`.
110
+ * @default false
111
+ */
112
+ displayAsCheckBox: any;
113
+ /**
114
+ * Allows customizing the default edit cell through the `IEditCell` object for more control over editing.
115
+ * @default {}
116
+ */
117
+ edit: any;
118
+ /**
119
+ * Specifies the component type used for editing cells within this column.
120
+ * @default 'stringedit'
121
+ */
122
+ editType: any;
123
+ /**
124
+ * Allows treegrid to perform column spanning on the specified column.
125
+ * @default true
126
+ */
127
+ enableColumnSpan: any;
128
+ /**
129
+ * Allows treegrid to perform row spanning on the specified column.
130
+ * @default true
131
+ */
132
+ enableRowSpan: any;
133
+ /**
134
+ * Specifies the field name in the data source to which the column is bound. This field is used for operations like sorting and filtering.
135
+ * The field name must be a valid JavaScript identifier, beginning with a letter and avoiding spaces and special characters.
136
+ * @default 'undefined'
137
+ */
138
+ field: any;
139
+ /**
140
+ * Customizes filter options for the column, enabling specialized filtering functionality.
141
+ * @default null
142
+ */
143
+ filter: any;
144
+ /**
145
+ * Allows for a custom component within the filter bar, facilitating advanced filter interfaces.
146
+ * Includes create and read functions for custom component management.
147
+ *
148
+ * ```html
149
+ *<div id="TreeGrid"></div>
150
+ *```
151
+ *```typescript
152
+ *let gridObj: TreeGrid = new TreeGrid({
153
+ *dataSource: filterData,
154
+ *columns: [
155
+ * { field: 'OrderID', headerText: 'Order ID' },
156
+ * {
157
+ * field: 'EmployeeID', filterBarTemplate: {
158
+ * create: (args: { element: Element, column: Column }) => {
159
+ * let input: HTMLInputElement = document.createElement('input');
160
+ * input.id = 'EmployeeID';
161
+ * input.type = 'text';
162
+ * return input;
163
+ * },
164
+ * write: (args: { element: Element, column: Column }) => {
165
+ * args.element.addEventListener('input', args.column.filterBarTemplate.read as EventListener);
166
+ * },
167
+ * read: (args: { element: HTMLInputElement, columnIndex: number, column: Column }) => {
168
+ * gridObj.filterByColumn(args.element.id, 'equal', args.element.value);
169
+ * }
170
+ * }
171
+ *}],
172
+ * allowFiltering: true
173
+ *});
174
+ *gridObj.appendTo('#TreeGrid');
175
+ *```
176
+ *
177
+ * @default null
178
+ */
179
+ filterBarTemplate: any;
180
+ /**
181
+ * Formats the displayed value of the column without affecting the underlying data. Supports standard and custom formats for numbers and dates.
182
+ *
183
+ * References for [number](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
184
+ *and [date](https://ej2.syncfusion.com/documentation/common/internationalization#date-formatting) formats.
185
+ * @default null
186
+ * @asptype string
187
+ */
188
+ format: any;
189
+ /**
190
+ * Allows for custom cell content formatting using an external method, executed prior to rendering.
191
+ * @default null
192
+ */
193
+ formatter: any;
194
+ /**
195
+ * Determines which side (left, right, or center) the column should be frozen on.
196
+ * @default Syncfusion.EJ2.Grids.FreezeDirection.None
197
+ * @isenumeration true
198
+ * @asptype Syncfusion.EJ2.Grids.FreezeDirection
199
+ */
200
+ freeze: any;
201
+ /**
202
+ * Specifies the text displayed in the column header. If omitted, the `field` value is used as the header text.
203
+ * @default 'undefined'
204
+ */
205
+ headerText: any;
206
+ /**
207
+ * Aligns the text in the column header. By default, the alignment corresponds to other content alignments.
208
+ * @default null
209
+ * @aspdefaultvalueignore
210
+ * @isenumeration true
211
+ * @asptype Syncfusion.EJ2.Grids.TextAlign
212
+ */
213
+ headerTextAlign: any;
214
+ /**
215
+ * 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.
216
+ * @default 'undefined'
217
+ */
218
+ hideAtMedia: any;
219
+ /**
220
+ * Allows the column to be frozen, keeping it stationary while scrolling horizontally through the grid.
221
+ * @default false
222
+ */
223
+ isFrozen: any;
224
+ /**
225
+ * Identifies the column as an identity column in database terms, if set to `true`.
226
+ * @default false
227
+ */
228
+ isIdentity: any;
229
+ /**
230
+ * Identifies the column as a primary key if set to `true`, enforcing uniqueness.
231
+ * @default false
232
+ */
233
+ isPrimaryKey: any;
234
+ /**
235
+ * Prevents column reordering when set to true, locking the column into a set position.
236
+ * @default false
237
+ */
238
+ lockColumn: any;
239
+ /**
240
+ * Defines the maximum allowable width of the column in pixels or as a percentage, preventing resizing beyond this limit.
241
+ * @default 'undefined'
242
+ */
243
+ maxWidth: any;
244
+ /**
245
+ * Determines the minimum width of the column in pixels or percentage. This ensures the column does not shrink below this size.
246
+ * @default 'undefined'
247
+ */
248
+ minWidth: any;
249
+ /**
250
+ * Displays checkboxes in the column when enabled, allowing for selections and certain operations.
251
+ * @default false
252
+ */
253
+ showCheckbox: any;
254
+ /**
255
+ * Decides if the column menu should be available, providing options for column customization.
256
+ * @default true
257
+ */
258
+ showColumnMenu: any;
259
+ /**
260
+ * Determines whether the column should appear in the Column Chooser. Set to false to exclude it.
261
+ * @default true
262
+ */
263
+ showInColumnChooser: any;
264
+ /**
265
+ * Provides a custom sort comparer property to control how sorting is handled for this column's data.
266
+ * @default 'undefined'
267
+ */
268
+ sortComparer: any;
269
+ /**
270
+ * Specifies the horizontal alignment for the column content and header. Options include alignment to the left, center, or right.
271
+ * @default Syncfusion.EJ2.Grids.TextAlign.Left
272
+ * @isenumeration true
273
+ * @asptype Syncfusion.EJ2.Grids.TextAlign
274
+ */
275
+ textAlign: any;
276
+ /**
277
+ * Retrieves the unique identifier for the column. This UID is used internally to reference and manipulate the column.
278
+ * @default 'undefined'
279
+ */
280
+ uid: any;
281
+ /**
282
+ * Establishes validation rules to ensure data integrity during creation and updates.
283
+ * @default null
284
+ */
285
+ validationRules: any;
286
+ /**
287
+ * Applies custom cell values using an external function, allowing for dynamic display adjustments.
288
+ * @default null
289
+ */
290
+ valueAccessor: any;
291
+ /**
292
+ * Toggles the visibility of the column. Set to false to hide the column from view. Columns are visible by default.
293
+ * @default true
294
+ */
295
+ visible: any;
296
+ /**
297
+ * Sets the column's width in pixels or as a percentage. This defines how the column will occupy space in the grid.
298
+ * @default 'undefined'
299
+ */
300
+ width: any;
301
+ /**
302
+ * Customizes the rendering of cell content using either a template string or HTML element ID.
303
+ * @default null
304
+ * @asptype string
305
+ */
306
+ template: any;
307
+ /**
308
+ * Customizes the header content with a template, defined as a string or an HTML element ID.
309
+ * @default null
310
+ * @asptype string
311
+ */
312
+ headerTemplate: any;
313
+ filter_itemTemplate: any;
314
+ /**
315
+ * Specifies a custom template or UI for filtering within this column, utilizing either string templates or HTML element IDs.
316
+ * @aspignore
317
+ */
318
+ filterTemplate: any;
319
+ commandsTemplate: any;
320
+ /**
321
+ * Provides a template for editing cells in this column, supporting either a template string or an HTML element ID.
322
+ * @aspignore
323
+ */
324
+ editTemplate: any;
325
+ constructor(viewContainerRef: ViewContainerRef);
326
+ }
327
+ /**
328
+ * Column Array Directive
329
+ * @private
330
+ */
331
+ export declare class ColumnsDirective extends ArrayBase<ColumnsDirective> {
332
+ constructor();
333
+ }