@syncfusion/ej2-angular-treegrid 31.1.20 → 31.1.21-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 +798 -0
- package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-treegrid.js +748 -0
- package/@syncfusion/ej2-angular-treegrid.js.map +1 -0
- package/CHANGELOG.md +65 -14
- package/dist/ej2-angular-treegrid.umd.js +979 -0
- package/dist/ej2-angular-treegrid.umd.js.map +1 -0
- package/dist/ej2-angular-treegrid.umd.min.js +11 -0
- package/dist/ej2-angular-treegrid.umd.min.js.map +1 -0
- package/ej2-angular-treegrid.d.ts +5 -0
- package/ej2-angular-treegrid.metadata.json +1 -0
- package/license +10 -0
- package/package.json +48 -45
- package/postinstall/tagchange.js +18 -0
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/treegrid/aggregate-columns.directive.d.ts +28 -31
- package/src/treegrid/aggregates.directive.d.ts +2 -7
- package/src/treegrid/columns.directive.d.ts +77 -60
- package/src/treegrid/stacked-column.directive.d.ts +77 -60
- package/src/treegrid/treegrid-all.module.d.ts +0 -6
- package/src/treegrid/treegrid.component.d.ts +1 -23
- package/src/treegrid/treegrid.module.d.ts +0 -10
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/index.mjs +0 -9
- package/esm2020/src/treegrid/aggregate-columns.directive.mjs +0 -72
- package/esm2020/src/treegrid/aggregates.directive.mjs +0 -69
- package/esm2020/src/treegrid/columns.directive.mjs +0 -100
- package/esm2020/src/treegrid/stacked-column.directive.mjs +0 -100
- package/esm2020/src/treegrid/treegrid-all.module.mjs +0 -89
- package/esm2020/src/treegrid/treegrid.component.mjs +0 -271
- package/esm2020/src/treegrid/treegrid.module.mjs +0 -61
- package/esm2020/syncfusion-ej2-angular-treegrid.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-treegrid.mjs +0 -734
- package/fesm2015/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-treegrid.mjs +0 -734
- package/fesm2020/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
- package/styles/bds-lite.css +0 -1
- package/styles/bds-lite.scss +0 -1
- package/styles/bds.css +0 -1
- package/styles/bds.scss +0 -1
- package/styles/bootstrap-dark-lite.css +0 -1
- package/styles/bootstrap-dark-lite.scss +0 -1
- package/styles/bootstrap-lite.css +0 -1
- package/styles/bootstrap-lite.scss +0 -1
- package/styles/bootstrap4-lite.css +0 -1
- package/styles/bootstrap4-lite.scss +0 -1
- package/styles/bootstrap5-dark-lite.css +0 -1
- package/styles/bootstrap5-dark-lite.scss +0 -1
- package/styles/bootstrap5-lite.css +0 -1
- package/styles/bootstrap5-lite.scss +0 -1
- package/styles/bootstrap5.3-lite.css +0 -1
- package/styles/bootstrap5.3-lite.scss +0 -1
- package/styles/bootstrap5.3.css +0 -1
- package/styles/bootstrap5.3.scss +0 -1
- package/styles/fabric-dark-lite.css +0 -1
- package/styles/fabric-dark-lite.scss +0 -1
- package/styles/fabric-lite.css +0 -1
- package/styles/fabric-lite.scss +0 -1
- package/styles/fluent-dark-lite.css +0 -1
- package/styles/fluent-dark-lite.scss +0 -1
- package/styles/fluent-lite.css +0 -1
- package/styles/fluent-lite.scss +0 -1
- package/styles/fluent2-lite.css +0 -1
- package/styles/fluent2-lite.scss +0 -1
- package/styles/fluent2.css +0 -1
- package/styles/fluent2.scss +0 -1
- package/styles/highcontrast-light-lite.css +0 -1
- package/styles/highcontrast-light-lite.scss +0 -1
- package/styles/highcontrast-lite.css +0 -1
- package/styles/highcontrast-lite.scss +0 -1
- package/styles/material-dark-lite.css +0 -1
- package/styles/material-dark-lite.scss +0 -1
- package/styles/material-lite.css +0 -1
- package/styles/material-lite.scss +0 -1
- package/styles/material3-dark-lite.css +0 -1
- package/styles/material3-dark-lite.scss +0 -1
- package/styles/material3-lite.css +0 -1
- package/styles/material3-lite.scss +0 -1
- package/styles/tailwind-dark-lite.css +0 -1
- package/styles/tailwind-dark-lite.scss +0 -1
- package/styles/tailwind-lite.css +0 -1
- package/styles/tailwind-lite.scss +0 -1
- package/styles/tailwind3-lite.css +0 -1
- package/styles/tailwind3-lite.scss +0 -1
- package/styles/tailwind3.css +0 -1
- package/styles/tailwind3.scss +0 -1
- package/styles/treegrid/bds.css +0 -1
- package/styles/treegrid/bds.scss +0 -1
- package/styles/treegrid/bootstrap5.3.css +0 -1
- package/styles/treegrid/bootstrap5.3.scss +0 -1
- package/styles/treegrid/fluent2.css +0 -1
- package/styles/treegrid/fluent2.scss +0 -1
- package/styles/treegrid/tailwind3.css +0 -1
- package/styles/treegrid/tailwind3.scss +0 -1
- package/syncfusion-ej2-angular-treegrid.d.ts +0 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* `e-aggregate->e-column` directive represent a aggregate column of the Angular TreeGrid.
|
|
6
5
|
* ```html
|
|
@@ -23,62 +22,62 @@ export declare class AggregateColumnDirective extends ComplexBase<AggregateColum
|
|
|
23
22
|
private viewContainerRef;
|
|
24
23
|
directivePropList: any;
|
|
25
24
|
/**
|
|
26
|
-
* Defines the aggregate type
|
|
27
|
-
* To
|
|
28
|
-
*
|
|
29
|
-
* *
|
|
30
|
-
* *
|
|
31
|
-
* *
|
|
32
|
-
* *
|
|
33
|
-
* *
|
|
34
|
-
* *
|
|
35
|
-
* *
|
|
36
|
-
* *
|
|
37
|
-
*
|
|
38
|
-
* Use `custom` to specify a custom aggregation.
|
|
39
|
-
*
|
|
25
|
+
* Defines the aggregate type of a particular column.
|
|
26
|
+
* To use multiple aggregates for single column, specify the `type` as array.
|
|
27
|
+
* Types of aggregate are,
|
|
28
|
+
* * sum
|
|
29
|
+
* * average
|
|
30
|
+
* * max
|
|
31
|
+
* * min
|
|
32
|
+
* * count
|
|
33
|
+
* * falsecount
|
|
34
|
+
* * truecount
|
|
35
|
+
* * custom
|
|
36
|
+
* > Specify the `type` value as `custom` to use custom aggregation.
|
|
40
37
|
* @asptype string
|
|
41
38
|
* @default null
|
|
42
39
|
*/
|
|
43
40
|
type: any;
|
|
44
41
|
/**
|
|
45
|
-
*
|
|
42
|
+
* Defines the column name to display the aggregate value. If `columnName` is not defined,
|
|
43
|
+
* then `field` name value will be assigned to the `columnName` property.
|
|
46
44
|
* @default null
|
|
47
45
|
*/
|
|
48
46
|
columnName: any;
|
|
49
47
|
/**
|
|
50
|
-
* Defines a
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
48
|
+
* Defines a function to calculate custom aggregate value. The `type` value should be set to `custom`.
|
|
49
|
+
* To use custom aggregate value in the template, use the key as `${custom}`.
|
|
50
|
+
* **Total aggregation**: The custom function will be called with the whole data and the current `AggregateColumn` object.
|
|
51
|
+
* **Group aggregation**: This will be called with the current group details and the `AggregateColumn` object.
|
|
54
52
|
* @default null
|
|
55
53
|
*/
|
|
56
54
|
customAggregate: any;
|
|
57
55
|
/**
|
|
58
|
-
*
|
|
56
|
+
* Defines the column name to perform aggregation.
|
|
59
57
|
* @default null
|
|
60
58
|
*/
|
|
61
59
|
field: any;
|
|
62
60
|
/**
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* and [date](https://ej2.syncfusion.com/documentation/common/internationalization
|
|
61
|
+
* Format is applied to a calculated value before it is displayed.
|
|
62
|
+
* Gets the format from the user, which can be standard or custom
|
|
63
|
+
* [`number`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
|
|
64
|
+
* and [`date`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string-1) formats.
|
|
67
65
|
* @asptype string
|
|
68
66
|
* @default null
|
|
69
67
|
*/
|
|
70
68
|
format: any;
|
|
71
69
|
/**
|
|
72
|
-
* Defines
|
|
73
|
-
*
|
|
70
|
+
* Defines the footer cell template as a string for the aggregate column.
|
|
71
|
+
* The `type` name should be used to access aggregate values inside the template.
|
|
72
|
+
*
|
|
73
|
+
* {% codeBlock src="grid/footer-template-api/index.ts" %}{% endcodeBlock %}
|
|
74
|
+
*
|
|
74
75
|
* @default null
|
|
75
76
|
* @asptype string
|
|
76
77
|
|
|
77
78
|
*/
|
|
78
79
|
footerTemplate: any;
|
|
79
80
|
constructor(viewContainerRef: ViewContainerRef);
|
|
80
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AggregateColumnDirective, never>;
|
|
81
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AggregateColumnDirective, "ejs-treegrid>e-aggregates>e-aggregate>e-columns>e-column", never, { "columnName": "columnName"; "customAggregate": "customAggregate"; "field": "field"; "footerTemplate": "footerTemplate"; "format": "format"; "type": "type"; }, {}, ["footerTemplate"]>;
|
|
82
81
|
}
|
|
83
82
|
/**
|
|
84
83
|
* AggregateColumn Array Directive
|
|
@@ -86,6 +85,4 @@ export declare class AggregateColumnDirective extends ComplexBase<AggregateColum
|
|
|
86
85
|
*/
|
|
87
86
|
export declare class AggregateColumnsDirective extends ArrayBase<AggregateColumnsDirective> {
|
|
88
87
|
constructor();
|
|
89
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AggregateColumnsDirective, never>;
|
|
90
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AggregateColumnsDirective, "ejs-treegrid>e-aggregates>e-aggregate>e-columns", never, {}, {}, ["children"]>;
|
|
91
88
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* `e-aggregate` directive represent a aggregate row of the Angular TreeGrid.
|
|
6
5
|
* It must be contained in a TreeGrid component(`ejs-treegrid`).
|
|
@@ -26,17 +25,15 @@ export declare class AggregateDirective extends ComplexBase<AggregateDirective>
|
|
|
26
25
|
childColumns: any;
|
|
27
26
|
tags: string[];
|
|
28
27
|
/**
|
|
29
|
-
* Configures the
|
|
28
|
+
* Configures the aggregate columns.
|
|
30
29
|
* @default []
|
|
31
30
|
*/
|
|
32
31
|
columns: any;
|
|
33
32
|
/**
|
|
34
|
-
*
|
|
33
|
+
* Display the childSummary for each parent.
|
|
35
34
|
*/
|
|
36
35
|
showChildSummary: any;
|
|
37
36
|
constructor(viewContainerRef: ViewContainerRef);
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AggregateDirective, never>;
|
|
39
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AggregateDirective, "ejs-treegrid>e-aggregates>e-aggregate", never, { "columns": "columns"; "showChildSummary": "showChildSummary"; }, {}, ["childColumns"]>;
|
|
40
37
|
}
|
|
41
38
|
/**
|
|
42
39
|
* Aggregate Array Directive
|
|
@@ -44,6 +41,4 @@ export declare class AggregateDirective extends ComplexBase<AggregateDirective>
|
|
|
44
41
|
*/
|
|
45
42
|
export declare class AggregatesDirective extends ArrayBase<AggregatesDirective> {
|
|
46
43
|
constructor();
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AggregatesDirective, never>;
|
|
48
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AggregatesDirective, "ejs-treegrid>e-aggregates", never, {}, {}, ["children"]>;
|
|
49
44
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* `e-column` directive represent a column of the Angular TreeGrid.
|
|
6
5
|
* It must be contained in a TreeGrid component(`ejs-treegrid`).
|
|
@@ -19,53 +18,60 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
|
|
|
19
18
|
childColumns: any;
|
|
20
19
|
tags: string[];
|
|
21
20
|
/**
|
|
22
|
-
* Defines the type of
|
|
21
|
+
* Defines the data type of the column.
|
|
23
22
|
* @default null
|
|
24
23
|
*/
|
|
25
24
|
type: any;
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
26
|
+
* If `allowEditing` set to false, then it disables editing of a particular column.
|
|
27
|
+
* By default all columns are editable.
|
|
28
28
|
* @default true
|
|
29
29
|
*/
|
|
30
30
|
allowEditing: any;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
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.
|
|
33
34
|
* @default true
|
|
34
35
|
*/
|
|
35
36
|
allowFiltering: any;
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
+
* If `allowReordering` set to false, then it disables reorder of a particular column.
|
|
39
|
+
* By default all columns can be reorder.
|
|
38
40
|
* @default true
|
|
39
41
|
*/
|
|
40
42
|
allowReordering: any;
|
|
41
43
|
/**
|
|
42
|
-
*
|
|
44
|
+
* If `allowResizing` set to false, it disables resize option of a particular column.
|
|
43
45
|
* @default true
|
|
44
46
|
*/
|
|
45
47
|
allowResizing: any;
|
|
46
48
|
/**
|
|
47
|
-
*
|
|
49
|
+
* If `allowSorting` set to false, then it disables sorting option of a particular column.
|
|
50
|
+
* By default all columns are sortable.
|
|
48
51
|
* @default true
|
|
49
52
|
*/
|
|
50
53
|
allowSorting: any;
|
|
51
54
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* * `EllipsisWithTooltip`: Shows ellipsis and tooltip on hover.
|
|
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.
|
|
56
58
|
* @default Syncfusion.EJ2.Grids.ClipMode.Ellipsis
|
|
57
59
|
* @isenumeration true
|
|
58
60
|
* @asptype Syncfusion.EJ2.Grids.ClipMode
|
|
59
61
|
*/
|
|
60
62
|
clipMode: any;
|
|
61
63
|
/**
|
|
62
|
-
*
|
|
64
|
+
* Used to render multiple header rows(stacked headers) on TreeGrid header.
|
|
63
65
|
* @default null
|
|
64
66
|
*/
|
|
65
67
|
columns: any;
|
|
66
68
|
/**
|
|
67
|
-
*
|
|
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.
|
|
69
75
|
*
|
|
70
76
|
* The following code example implements the custom command column.
|
|
71
77
|
*```html
|
|
@@ -92,49 +98,55 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
|
|
|
92
98
|
*/
|
|
93
99
|
commands: any;
|
|
94
100
|
/**
|
|
95
|
-
*
|
|
101
|
+
* The CSS styles and attributes of the content cells of a particular column can be customized.
|
|
96
102
|
* @default null
|
|
97
103
|
*/
|
|
98
104
|
customAttributes: any;
|
|
99
105
|
/**
|
|
100
|
-
*
|
|
106
|
+
* Defines default values for the component when adding a new record to the TreeGrid.
|
|
101
107
|
* @default null
|
|
102
108
|
*/
|
|
103
109
|
defaultValue: any;
|
|
104
110
|
/**
|
|
105
|
-
* If set to
|
|
111
|
+
* If `disableHtmlEncode` is set to true, it encodes the HTML of the header and content cells.
|
|
106
112
|
* @default true
|
|
107
113
|
*/
|
|
108
114
|
disableHtmlEncode: any;
|
|
109
115
|
/**
|
|
110
|
-
*
|
|
116
|
+
* If `displayAsCheckBox` is set to true, it displays the column value as a check box instead of Boolean value.
|
|
111
117
|
* @default false
|
|
112
118
|
*/
|
|
113
119
|
displayAsCheckBox: any;
|
|
114
120
|
/**
|
|
115
|
-
*
|
|
121
|
+
* Defines the `IEditCell` object to customize default edit cell.
|
|
116
122
|
* @default {}
|
|
117
123
|
*/
|
|
118
124
|
edit: any;
|
|
119
125
|
/**
|
|
120
|
-
*
|
|
126
|
+
* Defines the type of component for editing.
|
|
121
127
|
* @default 'stringedit'
|
|
122
128
|
*/
|
|
123
129
|
editType: any;
|
|
124
130
|
/**
|
|
125
|
-
*
|
|
126
|
-
* The
|
|
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.
|
|
127
135
|
* @default 'undefined'
|
|
128
136
|
*/
|
|
129
137
|
field: any;
|
|
130
138
|
/**
|
|
131
|
-
*
|
|
132
|
-
*
|
|
139
|
+
* Defines the filter options to customize filtering for the particular column.
|
|
140
|
+
*
|
|
141
|
+
* @default null
|
|
142
|
+
*
|
|
133
143
|
*/
|
|
134
144
|
filter: any;
|
|
135
145
|
/**
|
|
136
|
-
*
|
|
137
|
-
*
|
|
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.
|
|
138
150
|
*
|
|
139
151
|
* ```html
|
|
140
152
|
*<div id="TreeGrid"></div>
|
|
@@ -159,7 +171,7 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
|
|
|
159
171
|
* gridObj.filterByColumn(args.element.id, 'equal', args.element.value);
|
|
160
172
|
* }
|
|
161
173
|
* }
|
|
162
|
-
*}],
|
|
174
|
+
* }],
|
|
163
175
|
* allowFiltering: true
|
|
164
176
|
*});
|
|
165
177
|
*gridObj.appendTo('#TreeGrid');
|
|
@@ -169,33 +181,35 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
|
|
|
169
181
|
*/
|
|
170
182
|
filterBarTemplate: any;
|
|
171
183
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*and [date](https://ej2.syncfusion.com/documentation/common/internationalization
|
|
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.
|
|
176
188
|
* @default null
|
|
177
189
|
* @asptype string
|
|
178
190
|
*/
|
|
179
191
|
format: any;
|
|
180
192
|
/**
|
|
181
|
-
*
|
|
193
|
+
* Defines the method which is used to achieve custom formatting from an external function.
|
|
194
|
+
* This function triggers before rendering of each cell.
|
|
182
195
|
* @default null
|
|
183
196
|
*/
|
|
184
197
|
formatter: any;
|
|
185
198
|
/**
|
|
186
|
-
*
|
|
199
|
+
* Defines which side the column need to freeze
|
|
187
200
|
* @default Syncfusion.EJ2.Grids.FreezeDirection.None
|
|
188
201
|
* @isenumeration true
|
|
189
202
|
* @asptype Syncfusion.EJ2.Grids.FreezeDirection
|
|
190
203
|
*/
|
|
191
204
|
freeze: any;
|
|
192
205
|
/**
|
|
193
|
-
*
|
|
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.
|
|
194
208
|
* @default 'undefined'
|
|
195
209
|
*/
|
|
196
210
|
headerText: any;
|
|
197
211
|
/**
|
|
198
|
-
*
|
|
212
|
+
* Define the alignment of column header which is used to align the text of column header.
|
|
199
213
|
* @default null
|
|
200
214
|
* @aspdefaultvalueignore
|
|
201
215
|
* @isenumeration true
|
|
@@ -203,119 +217,124 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
|
|
|
203
217
|
*/
|
|
204
218
|
headerTextAlign: any;
|
|
205
219
|
/**
|
|
206
|
-
*
|
|
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.
|
|
207
222
|
* @default 'undefined'
|
|
208
223
|
*/
|
|
209
224
|
hideAtMedia: any;
|
|
210
225
|
/**
|
|
211
|
-
*
|
|
226
|
+
* You can use this property to freeze selected columns in grid.
|
|
212
227
|
* @default false
|
|
213
228
|
*/
|
|
214
229
|
isFrozen: any;
|
|
215
230
|
/**
|
|
216
|
-
*
|
|
231
|
+
* If `isIdentity` is set to true, then this column is considered as identity column.
|
|
217
232
|
* @default false
|
|
218
233
|
*/
|
|
219
234
|
isIdentity: any;
|
|
220
235
|
/**
|
|
221
|
-
*
|
|
236
|
+
* If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
|
|
222
237
|
* @default false
|
|
223
238
|
*/
|
|
224
239
|
isPrimaryKey: any;
|
|
225
240
|
/**
|
|
226
|
-
*
|
|
241
|
+
* If `lockColumn` set to true, then it disables Reordering of a particular column.
|
|
242
|
+
* The locked column will be moved to first position.
|
|
227
243
|
* @default false
|
|
228
244
|
*/
|
|
229
245
|
lockColumn: any;
|
|
230
246
|
/**
|
|
231
|
-
* Defines the maximum
|
|
247
|
+
* Defines the maximum width of the column in pixels or percentage, which will restrict resizing beyond this pixels or percentage.
|
|
232
248
|
* @default 'undefined'
|
|
233
249
|
*/
|
|
234
250
|
maxWidth: any;
|
|
235
251
|
/**
|
|
236
|
-
*
|
|
252
|
+
* Defines the minimum width of the column in pixels or percentage.
|
|
237
253
|
* @default 'undefined'
|
|
238
254
|
*/
|
|
239
255
|
minWidth: any;
|
|
240
256
|
/**
|
|
241
|
-
*
|
|
257
|
+
* If `showCheckbox` set to true, then the checkboxes will be displayed in particular column.
|
|
242
258
|
* @default false
|
|
243
259
|
*/
|
|
244
260
|
showCheckbox: any;
|
|
245
261
|
/**
|
|
246
|
-
*
|
|
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
|
|
247
264
|
* @default true
|
|
248
265
|
*/
|
|
249
266
|
showColumnMenu: any;
|
|
250
267
|
/**
|
|
251
|
-
*
|
|
268
|
+
* If `showInColumnChooser` set to false, then hide the particular column in column chooser.
|
|
269
|
+
* By default all columns are displayed in column Chooser.
|
|
252
270
|
* @default true
|
|
253
271
|
*/
|
|
254
272
|
showInColumnChooser: any;
|
|
255
273
|
/**
|
|
256
|
-
*
|
|
274
|
+
* Defines the sort comparer property.
|
|
257
275
|
* @default 'undefined'
|
|
258
276
|
*/
|
|
259
277
|
sortComparer: any;
|
|
260
278
|
/**
|
|
261
|
-
*
|
|
279
|
+
* Defines the alignment of the column in both header and content cells.
|
|
262
280
|
* @default Syncfusion.EJ2.Grids.TextAlign.Left
|
|
263
281
|
* @isenumeration true
|
|
264
282
|
* @asptype Syncfusion.EJ2.Grids.TextAlign
|
|
265
283
|
*/
|
|
266
284
|
textAlign: any;
|
|
267
285
|
/**
|
|
268
|
-
*
|
|
286
|
+
* Gets the unique identifier value of the column. It is used to get the object.
|
|
269
287
|
* @default 'undefined'
|
|
270
288
|
*/
|
|
271
289
|
uid: any;
|
|
272
290
|
/**
|
|
273
|
-
*
|
|
291
|
+
* Defines rules to validate data before creating and updating.
|
|
274
292
|
* @default null
|
|
275
293
|
*/
|
|
276
294
|
validationRules: any;
|
|
277
295
|
/**
|
|
278
|
-
*
|
|
296
|
+
* Defines the method used to apply custom cell values from external function and display this on each cell rendered.
|
|
279
297
|
* @default null
|
|
280
298
|
*/
|
|
281
299
|
valueAccessor: any;
|
|
282
300
|
/**
|
|
283
|
-
*
|
|
301
|
+
* If `visible` is set to false, hides the particular column. By default, columns are displayed.
|
|
284
302
|
* @default true
|
|
285
303
|
*/
|
|
286
304
|
visible: any;
|
|
287
305
|
/**
|
|
288
|
-
*
|
|
306
|
+
* Defines the width of the column in pixels or percentage.
|
|
289
307
|
* @default 'undefined'
|
|
290
308
|
*/
|
|
291
309
|
width: any;
|
|
292
310
|
/**
|
|
293
|
-
*
|
|
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.
|
|
294
313
|
* @default null
|
|
295
314
|
* @asptype string
|
|
296
315
|
*/
|
|
297
316
|
template: any;
|
|
298
317
|
/**
|
|
299
|
-
*
|
|
318
|
+
* Defines the header template as string or HTML element ID which is used to add customized element in the column header.
|
|
300
319
|
* @default null
|
|
301
320
|
* @asptype string
|
|
302
321
|
*/
|
|
303
322
|
headerTemplate: any;
|
|
304
323
|
filter_itemTemplate: any;
|
|
305
324
|
/**
|
|
306
|
-
*
|
|
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.
|
|
307
327
|
* @aspignore
|
|
308
328
|
*/
|
|
309
329
|
filterTemplate: any;
|
|
310
330
|
commandsTemplate: any;
|
|
311
331
|
/**
|
|
312
|
-
*
|
|
332
|
+
* Defines the cell edit template that used as editor for a particular column.
|
|
333
|
+
* It accepts either template string or HTML element ID.
|
|
313
334
|
* @aspignore
|
|
314
335
|
*/
|
|
315
336
|
editTemplate: any;
|
|
316
337
|
constructor(viewContainerRef: ViewContainerRef);
|
|
317
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnDirective, never>;
|
|
318
|
-
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"; "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"]>;
|
|
319
338
|
}
|
|
320
339
|
/**
|
|
321
340
|
* Column Array Directive
|
|
@@ -323,6 +342,4 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
|
|
|
323
342
|
*/
|
|
324
343
|
export declare class ColumnsDirective extends ArrayBase<ColumnsDirective> {
|
|
325
344
|
constructor();
|
|
326
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsDirective, never>;
|
|
327
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnsDirective, "ejs-treegrid>e-columns", never, {}, {}, ["children"]>;
|
|
328
345
|
}
|