@syncfusion/ej2-angular-treegrid 31.2.15-ngcc → 32.1.19-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 (115) hide show
  1. package/@syncfusion/ej2-angular-treegrid.es5.js +797 -817
  2. package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -1
  3. package/@syncfusion/ej2-angular-treegrid.js +725 -745
  4. package/@syncfusion/ej2-angular-treegrid.js.map +1 -1
  5. package/CHANGELOG.md +255 -0
  6. package/dist/ej2-angular-treegrid.umd.js +789 -817
  7. package/dist/ej2-angular-treegrid.umd.js.map +1 -1
  8. package/dist/ej2-angular-treegrid.umd.min.js +1 -10
  9. package/dist/ej2-angular-treegrid.umd.min.js.map +1 -1
  10. package/ej2-angular-treegrid.d.ts +5 -5
  11. package/ej2-angular-treegrid.metadata.json +1 -1
  12. package/{LICENSE → license} +10 -10
  13. package/package.json +47 -31
  14. package/postinstall/tagchange.js +18 -0
  15. package/public_api.d.ts +1 -1
  16. package/schematics/collection.json +19 -10
  17. package/schematics/generators/treegrid-default/index.d.ts +3 -0
  18. package/schematics/generators/treegrid-default/index.js +8 -0
  19. package/schematics/generators/treegrid-default/index.ts +8 -0
  20. package/schematics/generators/treegrid-default/sample-details.d.ts +5 -0
  21. package/schematics/generators/treegrid-default/sample-details.js +7 -0
  22. package/schematics/generators/treegrid-default/sample-details.ts +5 -0
  23. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
  24. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
  25. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +143 -0
  26. package/schematics/generators/treegrid-default/schema.d.ts +3 -0
  27. package/schematics/generators/treegrid-default/schema.js +2 -0
  28. package/schematics/generators/treegrid-default/schema.json +125 -0
  29. package/schematics/generators/treegrid-default/schema.ts +3 -0
  30. package/schematics/generators/treegrid-feature/index.d.ts +3 -0
  31. package/schematics/generators/treegrid-feature/index.js +8 -0
  32. package/schematics/generators/treegrid-feature/index.ts +8 -0
  33. package/schematics/generators/treegrid-feature/sample-details.d.ts +5 -0
  34. package/schematics/generators/treegrid-feature/sample-details.js +7 -0
  35. package/schematics/generators/treegrid-feature/sample-details.ts +5 -0
  36. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
  37. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
  38. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +144 -0
  39. package/schematics/generators/treegrid-feature/schema.d.ts +3 -0
  40. package/schematics/generators/treegrid-feature/schema.js +2 -0
  41. package/schematics/generators/treegrid-feature/schema.json +125 -0
  42. package/schematics/generators/treegrid-feature/schema.ts +3 -0
  43. package/schematics/ng-add/index.ts +10 -10
  44. package/schematics/ng-add/schema.json +34 -34
  45. package/schematics/ng-add/schema.ts +30 -30
  46. package/schematics/tsconfig.json +25 -25
  47. package/schematics/utils/lib-details.d.ts +2 -2
  48. package/schematics/utils/lib-details.js +2 -2
  49. package/schematics/utils/lib-details.ts +4 -4
  50. package/src/index.d.ts +8 -8
  51. package/src/treegrid/aggregate-columns.directive.d.ts +88 -86
  52. package/src/treegrid/aggregates.directive.d.ts +44 -44
  53. package/src/treegrid/columns.directive.d.ts +345 -323
  54. package/src/treegrid/stacked-column.directive.d.ts +347 -325
  55. package/src/treegrid/treegrid-all.module.d.ts +27 -27
  56. package/src/treegrid/treegrid.component.d.ts +121 -140
  57. package/src/treegrid/treegrid.module.d.ts +5 -5
  58. package/styles/bds-lite.css +0 -1
  59. package/styles/bds-lite.scss +0 -1
  60. package/styles/bds.css +0 -1
  61. package/styles/bds.scss +0 -1
  62. package/styles/bootstrap-dark-lite.css +0 -1
  63. package/styles/bootstrap-dark-lite.scss +0 -1
  64. package/styles/bootstrap-lite.css +0 -1
  65. package/styles/bootstrap-lite.scss +0 -1
  66. package/styles/bootstrap4-lite.css +0 -1
  67. package/styles/bootstrap4-lite.scss +0 -1
  68. package/styles/bootstrap5-dark-lite.css +0 -1
  69. package/styles/bootstrap5-dark-lite.scss +0 -1
  70. package/styles/bootstrap5-lite.css +0 -1
  71. package/styles/bootstrap5-lite.scss +0 -1
  72. package/styles/bootstrap5.3-lite.css +0 -1
  73. package/styles/bootstrap5.3-lite.scss +0 -1
  74. package/styles/bootstrap5.3.css +0 -1
  75. package/styles/bootstrap5.3.scss +0 -1
  76. package/styles/fabric-dark-lite.css +0 -1
  77. package/styles/fabric-dark-lite.scss +0 -1
  78. package/styles/fabric-lite.css +0 -1
  79. package/styles/fabric-lite.scss +0 -1
  80. package/styles/fluent-dark-lite.css +0 -1
  81. package/styles/fluent-dark-lite.scss +0 -1
  82. package/styles/fluent-lite.css +0 -1
  83. package/styles/fluent-lite.scss +0 -1
  84. package/styles/fluent2-lite.css +0 -1
  85. package/styles/fluent2-lite.scss +0 -1
  86. package/styles/fluent2.css +0 -1
  87. package/styles/fluent2.scss +0 -1
  88. package/styles/highcontrast-light-lite.css +0 -1
  89. package/styles/highcontrast-light-lite.scss +0 -1
  90. package/styles/highcontrast-lite.css +0 -1
  91. package/styles/highcontrast-lite.scss +0 -1
  92. package/styles/material-dark-lite.css +0 -1
  93. package/styles/material-dark-lite.scss +0 -1
  94. package/styles/material-lite.css +0 -1
  95. package/styles/material-lite.scss +0 -1
  96. package/styles/material3-dark-lite.css +0 -1
  97. package/styles/material3-dark-lite.scss +0 -1
  98. package/styles/material3-lite.css +0 -1
  99. package/styles/material3-lite.scss +0 -1
  100. package/styles/tailwind-dark-lite.css +0 -1
  101. package/styles/tailwind-dark-lite.scss +0 -1
  102. package/styles/tailwind-lite.css +0 -1
  103. package/styles/tailwind-lite.scss +0 -1
  104. package/styles/tailwind3-lite.css +0 -1
  105. package/styles/tailwind3-lite.scss +0 -1
  106. package/styles/tailwind3.css +0 -1
  107. package/styles/tailwind3.scss +0 -1
  108. package/styles/treegrid/bds.css +0 -1
  109. package/styles/treegrid/bds.scss +0 -1
  110. package/styles/treegrid/bootstrap5.3.css +0 -1
  111. package/styles/treegrid/bootstrap5.3.scss +0 -1
  112. package/styles/treegrid/fluent2.css +0 -1
  113. package/styles/treegrid/fluent2.scss +0 -1
  114. package/styles/treegrid/tailwind3.css +0 -1
  115. package/styles/treegrid/tailwind3.scss +0 -1
@@ -1,323 +1,345 @@
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
- * 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.
126
- * @default 'undefined'
127
- */
128
- field: any;
129
- /**
130
- * Customizes filter options for the column, enabling specialized filtering functionality.
131
- * @default null
132
- */
133
- filter: any;
134
- /**
135
- * Allows for a custom component within the filter bar, facilitating advanced filter interfaces.
136
- * Includes create and read functions for custom component management.
137
- *
138
- * ```html
139
- *<div id="TreeGrid"></div>
140
- *```
141
- *```typescript
142
- *let gridObj: TreeGrid = new TreeGrid({
143
- *dataSource: filterData,
144
- *columns: [
145
- * { field: 'OrderID', headerText: 'Order ID' },
146
- * {
147
- * field: 'EmployeeID', filterBarTemplate: {
148
- * create: (args: { element: Element, column: Column }) => {
149
- * let input: HTMLInputElement = document.createElement('input');
150
- * input.id = 'EmployeeID';
151
- * input.type = 'text';
152
- * return input;
153
- * },
154
- * write: (args: { element: Element, column: Column }) => {
155
- * args.element.addEventListener('input', args.column.filterBarTemplate.read as EventListener);
156
- * },
157
- * read: (args: { element: HTMLInputElement, columnIndex: number, column: Column }) => {
158
- * gridObj.filterByColumn(args.element.id, 'equal', args.element.value);
159
- * }
160
- * }
161
- *}],
162
- * allowFiltering: true
163
- *});
164
- *gridObj.appendTo('#TreeGrid');
165
- *```
166
- *
167
- * @default null
168
- */
169
- filterBarTemplate: any;
170
- /**
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.
175
- * @default null
176
- * @asptype string
177
- */
178
- format: any;
179
- /**
180
- * Allows for custom cell content formatting using an external method, executed prior to rendering.
181
- * @default null
182
- */
183
- formatter: any;
184
- /**
185
- * Determines which side (left, right, or center) the column should be frozen on.
186
- * @default Syncfusion.EJ2.Grids.FreezeDirection.None
187
- * @isenumeration true
188
- * @asptype Syncfusion.EJ2.Grids.FreezeDirection
189
- */
190
- freeze: any;
191
- /**
192
- * Specifies the text displayed in the column header. If omitted, the `field` value is used as the header text.
193
- * @default 'undefined'
194
- */
195
- headerText: any;
196
- /**
197
- * Aligns the text in the column header. By default, the alignment corresponds to other content alignments.
198
- * @default null
199
- * @aspdefaultvalueignore
200
- * @isenumeration true
201
- * @asptype Syncfusion.EJ2.Grids.TextAlign
202
- */
203
- headerTextAlign: any;
204
- /**
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.
206
- * @default 'undefined'
207
- */
208
- hideAtMedia: any;
209
- /**
210
- * Allows the column to be frozen, keeping it stationary while scrolling horizontally through the grid.
211
- * @default false
212
- */
213
- isFrozen: any;
214
- /**
215
- * Identifies the column as an identity column in database terms, if set to `true`.
216
- * @default false
217
- */
218
- isIdentity: any;
219
- /**
220
- * Identifies the column as a primary key if set to `true`, enforcing uniqueness.
221
- * @default false
222
- */
223
- isPrimaryKey: any;
224
- /**
225
- * Prevents column reordering when set to true, locking the column into a set position.
226
- * @default false
227
- */
228
- lockColumn: any;
229
- /**
230
- * Defines the maximum allowable width of the column in pixels or as a percentage, preventing resizing beyond this limit.
231
- * @default 'undefined'
232
- */
233
- maxWidth: any;
234
- /**
235
- * Determines the minimum width of the column in pixels or percentage. This ensures the column does not shrink below this size.
236
- * @default 'undefined'
237
- */
238
- minWidth: any;
239
- /**
240
- * Displays checkboxes in the column when enabled, allowing for selections and certain operations.
241
- * @default false
242
- */
243
- showCheckbox: any;
244
- /**
245
- * Decides if the column menu should be available, providing options for column customization.
246
- * @default true
247
- */
248
- showColumnMenu: any;
249
- /**
250
- * Determines whether the column should appear in the Column Chooser. Set to false to exclude it.
251
- * @default true
252
- */
253
- showInColumnChooser: any;
254
- /**
255
- * Provides a custom sort comparer property to control how sorting is handled for this column's data.
256
- * @default 'undefined'
257
- */
258
- sortComparer: any;
259
- /**
260
- * Specifies the horizontal alignment for the column content and header. Options include alignment to the left, center, or right.
261
- * @default Syncfusion.EJ2.Grids.TextAlign.Left
262
- * @isenumeration true
263
- * @asptype Syncfusion.EJ2.Grids.TextAlign
264
- */
265
- textAlign: any;
266
- /**
267
- * Retrieves the unique identifier for the column. This UID is used internally to reference and manipulate the column.
268
- * @default 'undefined'
269
- */
270
- uid: any;
271
- /**
272
- * Establishes validation rules to ensure data integrity during creation and updates.
273
- * @default null
274
- */
275
- validationRules: any;
276
- /**
277
- * Applies custom cell values using an external function, allowing for dynamic display adjustments.
278
- * @default null
279
- */
280
- valueAccessor: any;
281
- /**
282
- * Toggles the visibility of the column. Set to false to hide the column from view. Columns are visible by default.
283
- * @default true
284
- */
285
- visible: any;
286
- /**
287
- * Sets the column's width in pixels or as a percentage. This defines how the column will occupy space in the grid.
288
- * @default 'undefined'
289
- */
290
- width: any;
291
- /**
292
- * Customizes the rendering of cell content using either a template string or HTML element ID.
293
- * @default null
294
- * @asptype string
295
- */
296
- template: any;
297
- /**
298
- * Customizes the header content with a template, defined as a string or an HTML element ID.
299
- * @default null
300
- * @asptype string
301
- */
302
- headerTemplate: any;
303
- filter_itemTemplate: any;
304
- /**
305
- * Specifies a custom template or UI for filtering within this column, utilizing either string templates or HTML element IDs.
306
- * @aspignore
307
- */
308
- filterTemplate: any;
309
- commandsTemplate: any;
310
- /**
311
- * Provides a template for editing cells in this column, supporting either a template string or an HTML element ID.
312
- * @aspignore
313
- */
314
- editTemplate: any;
315
- constructor(viewContainerRef: ViewContainerRef);
316
- }
317
- /**
318
- * Column Array Directive
319
- * @private
320
- */
321
- export declare class ColumnsDirective extends ArrayBase<ColumnsDirective> {
322
- constructor();
323
- }
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 data type of the column.
22
+ * @default null
23
+ */
24
+ type: any;
25
+ /**
26
+ * If `allowEditing` set to false, then it disables editing of a particular column.
27
+ * By default all columns are editable.
28
+ * @default true
29
+ */
30
+ allowEditing: any;
31
+ /**
32
+ * If `allowFiltering` set to false, then it disables filtering option and filter bar element of a particular column.
33
+ * By default all columns are filterable.
34
+ * @default true
35
+ */
36
+ allowFiltering: any;
37
+ /**
38
+ * If `allowReordering` set to false, then it disables reorder of a particular column.
39
+ * By default all columns can be reorder.
40
+ * @default true
41
+ */
42
+ allowReordering: any;
43
+ /**
44
+ * If `allowResizing` set to false, it disables resize option of a particular column.
45
+ * @default true
46
+ */
47
+ allowResizing: any;
48
+ /**
49
+ * If `allowSorting` set to false, then it disables sorting option of a particular column.
50
+ * By default all columns are sortable.
51
+ * @default true
52
+ */
53
+ allowSorting: any;
54
+ /**
55
+ * Defines the cell content's overflow mode. The available modes are
56
+ *
57
+ * also it will display tooltip while hover on ellipsis applied cell.
58
+ * @default Syncfusion.EJ2.Grids.ClipMode.Ellipsis
59
+ * @isenumeration true
60
+ * @asptype Syncfusion.EJ2.Grids.ClipMode
61
+ */
62
+ clipMode: any;
63
+ /**
64
+ * Used to render multiple header rows(stacked headers) on TreeGrid header.
65
+ * @default null
66
+ */
67
+ columns: any;
68
+ /**
69
+ * `commands` provides an option to display command buttons in every cell.
70
+ * The available built-in command buttons are
71
+ * * Edit - Edit the record.
72
+ * * Delete - Delete the record.
73
+ * * Save - Save the record.
74
+ * * Cancel - Cancel the edit state.
75
+ *
76
+ * The following code example implements the custom command column.
77
+ *```html
78
+ *<style type="text/css" class="cssStyles">
79
+ *.details-icon:before
80
+ *{
81
+ * content:"\e74d";
82
+ *}
83
+ *</style>
84
+ *<div id="TreeGrid"></div>
85
+ *```
86
+ *```typescript
87
+ *var gridObj = new TreeGrid({
88
+ *datasource: window.gridData,
89
+ *columns : [
90
+ * { field: 'CustomerID', headerText: 'Customer ID' },
91
+ * { field: 'CustomerName', headerText: 'Customer Name' },
92
+ * {commands: [{buttonOption:{content: 'Details', click: onClick, cssClass: details-icon}}], headerText: 'Customer Details'}
93
+ *]
94
+ *gridObj.appendTo("#TreeGrid");
95
+ *```
96
+ *
97
+ * @default null
98
+ */
99
+ commands: any;
100
+ /**
101
+ * The CSS styles and attributes of the content cells of a particular column can be customized.
102
+ * @default null
103
+ */
104
+ customAttributes: any;
105
+ /**
106
+ * Defines default values for the component when adding a new record to the TreeGrid.
107
+ * @default null
108
+ */
109
+ defaultValue: any;
110
+ /**
111
+ * If `disableHtmlEncode` is set to true, it encodes the HTML of the header and content cells.
112
+ * @default true
113
+ */
114
+ disableHtmlEncode: any;
115
+ /**
116
+ * If `displayAsCheckBox` is set to true, it displays the column value as a check box instead of Boolean value.
117
+ * @default false
118
+ */
119
+ displayAsCheckBox: any;
120
+ /**
121
+ * Defines the `IEditCell` object to customize default edit cell.
122
+ * @default {}
123
+ */
124
+ edit: any;
125
+ /**
126
+ * Defines the type of component for editing.
127
+ * @default 'stringedit'
128
+ */
129
+ editType: any;
130
+ /**
131
+ * Defines the field name of column which is mapped with mapping name of DataSource.
132
+ * The bounded columns can be sort, filter etc.,
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.
135
+ * @default 'undefined'
136
+ */
137
+ field: any;
138
+ /**
139
+ * Defines the filter options to customize filtering for the particular column.
140
+ *
141
+ * @default null
142
+ *
143
+ */
144
+ filter: any;
145
+ /**
146
+ * The `filterBarTemplate` is used to add a custom component instead of default input component for filter bar.
147
+ * It have create and read functions.
148
+ * * create: It is used for creating custom components.
149
+ * * read: It is used to perform custom filter action.
150
+ *
151
+ * ```html
152
+ *<div id="TreeGrid"></div>
153
+ *```
154
+ *```typescript
155
+ *let gridObj: TreeGrid = new TreeGrid({
156
+ *dataSource: filterData,
157
+ *columns: [
158
+ * { field: 'OrderID', headerText: 'Order ID' },
159
+ * {
160
+ * field: 'EmployeeID', filterBarTemplate: {
161
+ * create: (args: { element: Element, column: Column }) => {
162
+ * let input: HTMLInputElement = document.createElement('input');
163
+ * input.id = 'EmployeeID';
164
+ * input.type = 'text';
165
+ * return input;
166
+ * },
167
+ * write: (args: { element: Element, column: Column }) => {
168
+ * args.element.addEventListener('input', args.column.filterBarTemplate.read as EventListener);
169
+ * },
170
+ * read: (args: { element: HTMLInputElement, columnIndex: number, column: Column }) => {
171
+ * gridObj.filterByColumn(args.element.id, 'equal', args.element.value);
172
+ * }
173
+ * }
174
+ * }],
175
+ * allowFiltering: true
176
+ *});
177
+ *gridObj.appendTo('#TreeGrid');
178
+ *```
179
+ *
180
+ * @default null
181
+ */
182
+ filterBarTemplate: any;
183
+ /**
184
+ * It is used to change display value with the given format and does not affect the original data.
185
+ * Gets the format from the user which can be standard or custom
186
+ * [`number`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
187
+ * and [`date`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string-1) formats.
188
+ * @default null
189
+ * @asptype string
190
+ */
191
+ format: any;
192
+ /**
193
+ * Defines the method which is used to achieve custom formatting from an external function.
194
+ * This function triggers before rendering of each cell.
195
+ * @default null
196
+ */
197
+ formatter: any;
198
+ /**
199
+ * Defines which side the column need to freeze
200
+ * @default Syncfusion.EJ2.Grids.FreezeDirection.None
201
+ * @isenumeration true
202
+ * @asptype Syncfusion.EJ2.Grids.FreezeDirection
203
+ */
204
+ freeze: any;
205
+ /**
206
+ * Defines the header text of column which is used to display in column header.
207
+ * If `headerText` is not defined, then field name value will be assigned to header text.
208
+ * @default 'undefined'
209
+ */
210
+ headerText: any;
211
+ /**
212
+ * Define the alignment of column header which is used to align the text of column header.
213
+ * @default null
214
+ * @aspdefaultvalueignore
215
+ * @isenumeration true
216
+ * @asptype Syncfusion.EJ2.Grids.TextAlign
217
+ */
218
+ headerTextAlign: any;
219
+ /**
220
+ * Column visibility can change based on [`Media Queries`](http://cssmediaqueries.com/what-are-css-media-queries.html).
221
+ * `hideAtMedia` accepts only valid Media Queries.
222
+ * @default 'undefined'
223
+ */
224
+ hideAtMedia: any;
225
+ /**
226
+ * You can use this property to freeze selected columns in grid.
227
+ * @default false
228
+ */
229
+ isFrozen: any;
230
+ /**
231
+ * If `isIdentity` is set to true, then this column is considered as identity column.
232
+ * @default false
233
+ */
234
+ isIdentity: any;
235
+ /**
236
+ * If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
237
+ * @default false
238
+ */
239
+ isPrimaryKey: any;
240
+ /**
241
+ * If `lockColumn` set to true, then it disables Reordering of a particular column.
242
+ * The locked column will be moved to first position.
243
+ * @default false
244
+ */
245
+ lockColumn: any;
246
+ /**
247
+ * Defines the maximum width of the column in pixels or percentage, which will restrict resizing beyond this pixels or percentage.
248
+ * @default 'undefined'
249
+ */
250
+ maxWidth: any;
251
+ /**
252
+ * Defines the minimum width of the column in pixels or percentage.
253
+ * @default 'undefined'
254
+ */
255
+ minWidth: any;
256
+ /**
257
+ * If `showCheckbox` set to true, then the checkboxes will be displayed in particular column.
258
+ * @default false
259
+ */
260
+ showCheckbox: any;
261
+ /**
262
+ * If `showColumnMenu` set to false, then it disable the column menu of a particular column.
263
+ * By default column menu will show for all columns
264
+ * @default true
265
+ */
266
+ showColumnMenu: any;
267
+ /**
268
+ * If `showInColumnChooser` set to false, then hide the particular column in column chooser.
269
+ * By default all columns are displayed in column Chooser.
270
+ * @default true
271
+ */
272
+ showInColumnChooser: any;
273
+ /**
274
+ * Defines the sort comparer property.
275
+ * @default 'undefined'
276
+ */
277
+ sortComparer: any;
278
+ /**
279
+ * Defines the alignment of the column in both header and content cells.
280
+ * @default Syncfusion.EJ2.Grids.TextAlign.Left
281
+ * @isenumeration true
282
+ * @asptype Syncfusion.EJ2.Grids.TextAlign
283
+ */
284
+ textAlign: any;
285
+ /**
286
+ * Gets the unique identifier value of the column. It is used to get the object.
287
+ * @default 'undefined'
288
+ */
289
+ uid: any;
290
+ /**
291
+ * Defines rules to validate data before creating and updating.
292
+ * @default null
293
+ */
294
+ validationRules: any;
295
+ /**
296
+ * Defines the method used to apply custom cell values from external function and display this on each cell rendered.
297
+ * @default null
298
+ */
299
+ valueAccessor: any;
300
+ /**
301
+ * If `visible` is set to false, hides the particular column. By default, columns are displayed.
302
+ * @default true
303
+ */
304
+ visible: any;
305
+ /**
306
+ * Defines the width of the column in pixels or percentage.
307
+ * @default 'undefined'
308
+ */
309
+ width: any;
310
+ /**
311
+ * Defines the column template that renders customized element in each cell of the column.
312
+ * It accepts either [template string](https://ej2.syncfusion.com/documentation/common/template-engine/) or HTML element ID.
313
+ * @default null
314
+ * @asptype string
315
+ */
316
+ template: any;
317
+ /**
318
+ * Defines the header template as string or HTML element ID which is used to add customized element in the column header.
319
+ * @default null
320
+ * @asptype string
321
+ */
322
+ headerTemplate: any;
323
+ filter_itemTemplate: any;
324
+ /**
325
+ * Defines the filter template/UI that is used as filter for a particular column.
326
+ * It accepts either template string or HTML element ID.
327
+ * @aspignore
328
+ */
329
+ filterTemplate: any;
330
+ commandsTemplate: any;
331
+ /**
332
+ * Defines the cell edit template that used as editor for a particular column.
333
+ * It accepts either template string or HTML element ID.
334
+ * @aspignore
335
+ */
336
+ editTemplate: any;
337
+ constructor(viewContainerRef: ViewContainerRef);
338
+ }
339
+ /**
340
+ * Column Array Directive
341
+ * @private
342
+ */
343
+ export declare class ColumnsDirective extends ArrayBase<ColumnsDirective> {
344
+ constructor();
345
+ }