@lowdefy/blocks-aggrid 4.5.2 → 4.7.0
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/dist/blocks/AgGridAlpine/schema.js +125 -0
- package/dist/blocks/AgGridAlpine/style.less +1 -1
- package/dist/blocks/AgGridAlpineDark/schema.js +125 -0
- package/dist/blocks/AgGridAlpineDark/style.less +1 -1
- package/dist/blocks/AgGridBalham/schema.js +125 -0
- package/dist/blocks/AgGridBalham/style.less +1 -1
- package/dist/blocks/AgGridBalhamDark/schema.js +125 -0
- package/dist/blocks/AgGridBalhamDark/style.less +1 -1
- package/dist/blocks/AgGridInputAlpine/schema.js +146 -0
- package/dist/blocks/AgGridInputAlpine/style.less +1 -1
- package/dist/blocks/AgGridInputAlpineDark/schema.js +146 -0
- package/dist/blocks/AgGridInputAlpineDark/style.less +1 -1
- package/dist/blocks/AgGridInputBalham/schema.js +146 -0
- package/dist/blocks/AgGridInputBalham/style.less +1 -1
- package/dist/blocks/AgGridInputBalhamDark/schema.js +146 -0
- package/dist/blocks/AgGridInputBalhamDark/style.less +1 -1
- package/dist/blocks/AgGridInputMaterial/schema.js +146 -0
- package/dist/blocks/AgGridInputMaterial/style.less +1 -1
- package/dist/blocks/AgGridMaterial/schema.js +125 -0
- package/dist/blocks/AgGridMaterial/style.less +1 -1
- package/dist/schemas.js +24 -0
- package/dist/types.js +1 -1
- package/package.json +6 -16
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ export default {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
properties: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
description: 'AgGrid table properties object. See the Ag-Grid docs(https://www.ag-grid.com/documentation/react/getting-started/) for all the table settings API.',
|
|
21
|
+
properties: {
|
|
22
|
+
height: {
|
|
23
|
+
type: [
|
|
24
|
+
'number',
|
|
25
|
+
'string'
|
|
26
|
+
],
|
|
27
|
+
default: 'auto',
|
|
28
|
+
description: 'Specify table height explicitly, in pixel.'
|
|
29
|
+
},
|
|
30
|
+
rowData: {
|
|
31
|
+
type: 'array',
|
|
32
|
+
description: 'The list of data to display on the table.'
|
|
33
|
+
},
|
|
34
|
+
rowId: {
|
|
35
|
+
type: 'string',
|
|
36
|
+
description: 'The data field to use in `getRowId` which results in Row Selection being maintained across Row Data changes (assuming the Row exists in both sets). See Ag Grid docs for more details (https://www.ag-grid.com/react-data-grid/data-update-row-data/).'
|
|
37
|
+
},
|
|
38
|
+
defaultColDef: {
|
|
39
|
+
type: 'object',
|
|
40
|
+
description: 'Column properties which get applied to all columns. See all (https://www.ag-grid.com/javascript-data-grid/column-properties/).'
|
|
41
|
+
},
|
|
42
|
+
columnDefs: {
|
|
43
|
+
type: 'array',
|
|
44
|
+
description: 'A list of properties for each column.',
|
|
45
|
+
items: {
|
|
46
|
+
type: 'object',
|
|
47
|
+
properties: {
|
|
48
|
+
field: {
|
|
49
|
+
type: 'string',
|
|
50
|
+
description: "The field of the row object to get the cell's data from. Deep references into a row object is supported via dot notation, i.e 'address.firstLine'."
|
|
51
|
+
},
|
|
52
|
+
headerName: {
|
|
53
|
+
type: 'string',
|
|
54
|
+
description: 'The name to render in the column header. If not specified and field is specified, the field name will be used as the header name.'
|
|
55
|
+
},
|
|
56
|
+
filter: {
|
|
57
|
+
type: 'boolean',
|
|
58
|
+
default: false,
|
|
59
|
+
description: 'Filter component to use for this column. Set to true to use the default filter.'
|
|
60
|
+
},
|
|
61
|
+
sortable: {
|
|
62
|
+
type: 'boolean',
|
|
63
|
+
default: false,
|
|
64
|
+
description: 'Set to true to allow sorting on this column.'
|
|
65
|
+
},
|
|
66
|
+
resizable: {
|
|
67
|
+
type: 'boolean',
|
|
68
|
+
default: false,
|
|
69
|
+
description: 'Set to true to allow this column should be resized.'
|
|
70
|
+
},
|
|
71
|
+
width: {
|
|
72
|
+
type: 'number',
|
|
73
|
+
description: 'Initial width in pixels for the cell.'
|
|
74
|
+
},
|
|
75
|
+
cellStyle: {
|
|
76
|
+
type: 'number',
|
|
77
|
+
description: 'An object of css values returning an object of css values for a particular cell.'
|
|
78
|
+
},
|
|
79
|
+
cellRenderer: {
|
|
80
|
+
type: 'object',
|
|
81
|
+
description: "Provide your own cell Renderer function (using the `_function` operator) for this column's cells."
|
|
82
|
+
},
|
|
83
|
+
valueFormatter: {
|
|
84
|
+
type: [
|
|
85
|
+
'object',
|
|
86
|
+
'string'
|
|
87
|
+
],
|
|
88
|
+
description: 'A function (using the `_function` operator) or expression to format a value, should return a string. Not used for CSV export or copy to clipboard, only for UI cell rendering.'
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
events: {
|
|
95
|
+
type: 'object',
|
|
96
|
+
properties: {
|
|
97
|
+
onCellClick: {
|
|
98
|
+
type: 'array',
|
|
99
|
+
description: 'Trigger event when a cell is clicked.'
|
|
100
|
+
},
|
|
101
|
+
onFilterChanged: {
|
|
102
|
+
type: 'array',
|
|
103
|
+
description: 'Trigger event when the filter changes.'
|
|
104
|
+
},
|
|
105
|
+
onRowClick: {
|
|
106
|
+
type: 'array',
|
|
107
|
+
description: 'Trigger event when a row is clicked.'
|
|
108
|
+
},
|
|
109
|
+
onRowSelected: {
|
|
110
|
+
type: 'array',
|
|
111
|
+
description: 'Trigger event when a row is selected.'
|
|
112
|
+
},
|
|
113
|
+
onSelectionChanged: {
|
|
114
|
+
type: 'array',
|
|
115
|
+
description: 'Triggered when the selected rows are changed.'
|
|
116
|
+
},
|
|
117
|
+
onSortChanged: {
|
|
118
|
+
type: 'array',
|
|
119
|
+
description: 'Trigger event when the sort changes.'
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ export default {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
properties: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
description: 'AgGrid table properties object. See the Ag-Grid docs(https://www.ag-grid.com/documentation/react/getting-started/) for all the table settings API.',
|
|
21
|
+
properties: {
|
|
22
|
+
height: {
|
|
23
|
+
type: [
|
|
24
|
+
'number',
|
|
25
|
+
'string'
|
|
26
|
+
],
|
|
27
|
+
default: 'auto',
|
|
28
|
+
description: 'Specify table height explicitly, in pixel.'
|
|
29
|
+
},
|
|
30
|
+
rowData: {
|
|
31
|
+
type: 'array',
|
|
32
|
+
description: 'The list of data to display on the table.'
|
|
33
|
+
},
|
|
34
|
+
rowId: {
|
|
35
|
+
type: 'string',
|
|
36
|
+
description: 'The data field to use in `getRowId` which results in Row Selection being maintained across Row Data changes (assuming the Row exists in both sets). See Ag Grid docs for more details (https://www.ag-grid.com/react-data-grid/data-update-row-data/).'
|
|
37
|
+
},
|
|
38
|
+
defaultColDef: {
|
|
39
|
+
type: 'object',
|
|
40
|
+
description: 'Column properties which get applied to all columns. See all (https://www.ag-grid.com/javascript-data-grid/column-properties/).'
|
|
41
|
+
},
|
|
42
|
+
columnDefs: {
|
|
43
|
+
type: 'array',
|
|
44
|
+
description: 'A list of properties for each column.',
|
|
45
|
+
items: {
|
|
46
|
+
type: 'object',
|
|
47
|
+
properties: {
|
|
48
|
+
field: {
|
|
49
|
+
type: 'string',
|
|
50
|
+
description: "The field of the row object to get the cell's data from. Deep references into a row object is supported via dot notation, i.e 'address.firstLine'."
|
|
51
|
+
},
|
|
52
|
+
headerName: {
|
|
53
|
+
type: 'string',
|
|
54
|
+
description: 'The name to render in the column header. If not specified and field is specified, the field name will be used as the header name.'
|
|
55
|
+
},
|
|
56
|
+
filter: {
|
|
57
|
+
type: 'boolean',
|
|
58
|
+
default: false,
|
|
59
|
+
description: 'Filter component to use for this column. Set to true to use the default filter.'
|
|
60
|
+
},
|
|
61
|
+
sortable: {
|
|
62
|
+
type: 'boolean',
|
|
63
|
+
default: false,
|
|
64
|
+
description: 'Set to true to allow sorting on this column.'
|
|
65
|
+
},
|
|
66
|
+
resizable: {
|
|
67
|
+
type: 'boolean',
|
|
68
|
+
default: false,
|
|
69
|
+
description: 'Set to true to allow this column should be resized.'
|
|
70
|
+
},
|
|
71
|
+
width: {
|
|
72
|
+
type: 'number',
|
|
73
|
+
description: 'Initial width in pixels for the cell.'
|
|
74
|
+
},
|
|
75
|
+
cellStyle: {
|
|
76
|
+
type: 'number',
|
|
77
|
+
description: 'An object of css values returning an object of css values for a particular cell.'
|
|
78
|
+
},
|
|
79
|
+
cellRenderer: {
|
|
80
|
+
type: 'object',
|
|
81
|
+
description: "Provide your own cell Renderer function (using the `_function` operator) for this column's cells."
|
|
82
|
+
},
|
|
83
|
+
valueFormatter: {
|
|
84
|
+
type: [
|
|
85
|
+
'object',
|
|
86
|
+
'string'
|
|
87
|
+
],
|
|
88
|
+
description: 'A function (using the `_function` operator) or expression to format a value, should return a string. Not used for CSV export or copy to clipboard, only for UI cell rendering.'
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
events: {
|
|
95
|
+
type: 'object',
|
|
96
|
+
properties: {
|
|
97
|
+
onCellClick: {
|
|
98
|
+
type: 'array',
|
|
99
|
+
description: 'Trigger event when a cell is clicked.'
|
|
100
|
+
},
|
|
101
|
+
onFilterChanged: {
|
|
102
|
+
type: 'array',
|
|
103
|
+
description: 'Trigger event when the filter changes.'
|
|
104
|
+
},
|
|
105
|
+
onRowClick: {
|
|
106
|
+
type: 'array',
|
|
107
|
+
description: 'Trigger event when a row is clicked.'
|
|
108
|
+
},
|
|
109
|
+
onRowSelected: {
|
|
110
|
+
type: 'array',
|
|
111
|
+
description: 'Trigger event when a row is selected.'
|
|
112
|
+
},
|
|
113
|
+
onSelectionChanged: {
|
|
114
|
+
type: 'array',
|
|
115
|
+
description: 'Triggered when the selected rows are changed.'
|
|
116
|
+
},
|
|
117
|
+
onSortChanged: {
|
|
118
|
+
type: 'array',
|
|
119
|
+
description: 'Trigger event when the sort changes.'
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ export default {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
properties: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
description: 'AgGrid table properties object. See the Ag-Grid docs(https://www.ag-grid.com/documentation/react/getting-started/) for all the table settings API.',
|
|
21
|
+
properties: {
|
|
22
|
+
height: {
|
|
23
|
+
type: [
|
|
24
|
+
'number',
|
|
25
|
+
'string'
|
|
26
|
+
],
|
|
27
|
+
default: 'auto',
|
|
28
|
+
description: 'Specify table height explicitly, in pixel.'
|
|
29
|
+
},
|
|
30
|
+
rowData: {
|
|
31
|
+
type: 'array',
|
|
32
|
+
description: 'The list of data to display on the table.'
|
|
33
|
+
},
|
|
34
|
+
rowId: {
|
|
35
|
+
type: 'string',
|
|
36
|
+
description: 'The data field to use in `getRowId` which results in Row Selection being maintained across Row Data changes (assuming the Row exists in both sets). See Ag Grid docs for more details (https://www.ag-grid.com/react-data-grid/data-update-row-data/).'
|
|
37
|
+
},
|
|
38
|
+
defaultColDef: {
|
|
39
|
+
type: 'object',
|
|
40
|
+
description: 'Column properties which get applied to all columns. See all (https://www.ag-grid.com/javascript-data-grid/column-properties/).'
|
|
41
|
+
},
|
|
42
|
+
columnDefs: {
|
|
43
|
+
type: 'array',
|
|
44
|
+
description: 'A list of properties for each column.',
|
|
45
|
+
items: {
|
|
46
|
+
type: 'object',
|
|
47
|
+
properties: {
|
|
48
|
+
field: {
|
|
49
|
+
type: 'string',
|
|
50
|
+
description: "The field of the row object to get the cell's data from. Deep references into a row object is supported via dot notation, i.e 'address.firstLine'."
|
|
51
|
+
},
|
|
52
|
+
headerName: {
|
|
53
|
+
type: 'string',
|
|
54
|
+
description: 'The name to render in the column header. If not specified and field is specified, the field name will be used as the header name.'
|
|
55
|
+
},
|
|
56
|
+
filter: {
|
|
57
|
+
type: 'boolean',
|
|
58
|
+
default: false,
|
|
59
|
+
description: 'Filter component to use for this column. Set to true to use the default filter.'
|
|
60
|
+
},
|
|
61
|
+
sortable: {
|
|
62
|
+
type: 'boolean',
|
|
63
|
+
default: false,
|
|
64
|
+
description: 'Set to true to allow sorting on this column.'
|
|
65
|
+
},
|
|
66
|
+
resizable: {
|
|
67
|
+
type: 'boolean',
|
|
68
|
+
default: false,
|
|
69
|
+
description: 'Set to true to allow this column should be resized.'
|
|
70
|
+
},
|
|
71
|
+
width: {
|
|
72
|
+
type: 'number',
|
|
73
|
+
description: 'Initial width in pixels for the cell.'
|
|
74
|
+
},
|
|
75
|
+
cellStyle: {
|
|
76
|
+
type: 'number',
|
|
77
|
+
description: 'An object of css values returning an object of css values for a particular cell.'
|
|
78
|
+
},
|
|
79
|
+
cellRenderer: {
|
|
80
|
+
type: 'object',
|
|
81
|
+
description: "Provide your own cell Renderer function (using the `_function` operator) for this column's cells."
|
|
82
|
+
},
|
|
83
|
+
valueFormatter: {
|
|
84
|
+
type: [
|
|
85
|
+
'object',
|
|
86
|
+
'string'
|
|
87
|
+
],
|
|
88
|
+
description: 'A function (using the `_function` operator) or expression to format a value, should return a string. Not used for CSV export or copy to clipboard, only for UI cell rendering.'
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
events: {
|
|
95
|
+
type: 'object',
|
|
96
|
+
properties: {
|
|
97
|
+
onCellClick: {
|
|
98
|
+
type: 'array',
|
|
99
|
+
description: 'Trigger event when a cell is clicked.'
|
|
100
|
+
},
|
|
101
|
+
onFilterChanged: {
|
|
102
|
+
type: 'array',
|
|
103
|
+
description: 'Trigger event when the filter changes.'
|
|
104
|
+
},
|
|
105
|
+
onRowClick: {
|
|
106
|
+
type: 'array',
|
|
107
|
+
description: 'Trigger event when a row is clicked.'
|
|
108
|
+
},
|
|
109
|
+
onRowSelected: {
|
|
110
|
+
type: 'array',
|
|
111
|
+
description: 'Trigger event when a row is selected.'
|
|
112
|
+
},
|
|
113
|
+
onSelectionChanged: {
|
|
114
|
+
type: 'array',
|
|
115
|
+
description: 'Triggered when the selected rows are changed.'
|
|
116
|
+
},
|
|
117
|
+
onSortChanged: {
|
|
118
|
+
type: 'array',
|
|
119
|
+
description: 'Trigger event when the sort changes.'
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ export default {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
properties: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
description: 'AgGrid table properties object. See the Ag-Grid docs(https://www.ag-grid.com/documentation/react/getting-started/) for all the table settings API.',
|
|
21
|
+
properties: {
|
|
22
|
+
height: {
|
|
23
|
+
type: [
|
|
24
|
+
'number',
|
|
25
|
+
'string'
|
|
26
|
+
],
|
|
27
|
+
default: 'auto',
|
|
28
|
+
description: 'Specify table height explicitly, in pixel.'
|
|
29
|
+
},
|
|
30
|
+
rowData: {
|
|
31
|
+
type: 'array',
|
|
32
|
+
description: 'The list of data to display on the table.'
|
|
33
|
+
},
|
|
34
|
+
rowId: {
|
|
35
|
+
type: 'string',
|
|
36
|
+
description: 'The data field to use in `getRowId` which results in Row Selection being maintained across Row Data changes (assuming the Row exists in both sets). See Ag Grid docs for more details (https://www.ag-grid.com/react-data-grid/data-update-row-data/).'
|
|
37
|
+
},
|
|
38
|
+
defaultColDef: {
|
|
39
|
+
type: 'object',
|
|
40
|
+
description: 'Column properties which get applied to all columns. See all (https://www.ag-grid.com/javascript-data-grid/column-properties/).'
|
|
41
|
+
},
|
|
42
|
+
columnDefs: {
|
|
43
|
+
type: 'array',
|
|
44
|
+
description: 'A list of properties for each column.',
|
|
45
|
+
items: {
|
|
46
|
+
type: 'object',
|
|
47
|
+
properties: {
|
|
48
|
+
field: {
|
|
49
|
+
type: 'string',
|
|
50
|
+
description: "The field of the row object to get the cell's data from. Deep references into a row object is supported via dot notation, i.e 'address.firstLine'."
|
|
51
|
+
},
|
|
52
|
+
headerName: {
|
|
53
|
+
type: 'string',
|
|
54
|
+
description: 'The name to render in the column header. If not specified and field is specified, the field name will be used as the header name.'
|
|
55
|
+
},
|
|
56
|
+
filter: {
|
|
57
|
+
type: 'boolean',
|
|
58
|
+
default: false,
|
|
59
|
+
description: 'Filter component to use for this column. Set to true to use the default filter.'
|
|
60
|
+
},
|
|
61
|
+
sortable: {
|
|
62
|
+
type: 'boolean',
|
|
63
|
+
default: false,
|
|
64
|
+
description: 'Set to true to allow sorting on this column.'
|
|
65
|
+
},
|
|
66
|
+
resizable: {
|
|
67
|
+
type: 'boolean',
|
|
68
|
+
default: false,
|
|
69
|
+
description: 'Set to true to allow this column should be resized.'
|
|
70
|
+
},
|
|
71
|
+
width: {
|
|
72
|
+
type: 'number',
|
|
73
|
+
description: 'Initial width in pixels for the cell.'
|
|
74
|
+
},
|
|
75
|
+
cellStyle: {
|
|
76
|
+
type: 'number',
|
|
77
|
+
description: 'An object of css values returning an object of css values for a particular cell.'
|
|
78
|
+
},
|
|
79
|
+
cellRenderer: {
|
|
80
|
+
type: 'object',
|
|
81
|
+
description: "Provide your own cell Renderer function (using the `_function` operator) for this column's cells."
|
|
82
|
+
},
|
|
83
|
+
valueFormatter: {
|
|
84
|
+
type: [
|
|
85
|
+
'object',
|
|
86
|
+
'string'
|
|
87
|
+
],
|
|
88
|
+
description: 'A function (using the `_function` operator) or expression to format a value, should return a string. Not used for CSV export or copy to clipboard, only for UI cell rendering.'
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
events: {
|
|
95
|
+
type: 'object',
|
|
96
|
+
properties: {
|
|
97
|
+
onCellClick: {
|
|
98
|
+
type: 'array',
|
|
99
|
+
description: 'Trigger event when a cell is clicked.'
|
|
100
|
+
},
|
|
101
|
+
onFilterChanged: {
|
|
102
|
+
type: 'array',
|
|
103
|
+
description: 'Trigger event when the filter changes.'
|
|
104
|
+
},
|
|
105
|
+
onRowClick: {
|
|
106
|
+
type: 'array',
|
|
107
|
+
description: 'Trigger event when a row is clicked.'
|
|
108
|
+
},
|
|
109
|
+
onRowSelected: {
|
|
110
|
+
type: 'array',
|
|
111
|
+
description: 'Trigger event when a row is selected.'
|
|
112
|
+
},
|
|
113
|
+
onSelectionChanged: {
|
|
114
|
+
type: 'array',
|
|
115
|
+
description: 'Triggered when the selected rows are changed.'
|
|
116
|
+
},
|
|
117
|
+
onSortChanged: {
|
|
118
|
+
type: 'array',
|
|
119
|
+
description: 'Trigger event when the sort changes.'
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|