@vaadin/grid-pro 25.1.0-alpha6 → 25.1.0-alpha7
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/custom-elements.json +2089 -0
- package/package.json +16 -14
- package/src/vaadin-grid-pro-edit-checkbox.js +1 -1
- package/src/vaadin-grid-pro-edit-column.js +1 -1
- package/src/vaadin-grid-pro-edit-select.js +1 -1
- package/src/vaadin-grid-pro-edit-text-field.js +1 -1
- package/src/vaadin-grid-pro.js +1 -1
- package/web-types.json +2 -2
- package/web-types.lit.json +2 -2
|
@@ -0,0 +1,2089 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "vaadin-grid-pro.js",
|
|
8
|
+
"declarations": [],
|
|
9
|
+
"exports": [
|
|
10
|
+
{
|
|
11
|
+
"kind": "js",
|
|
12
|
+
"name": "*",
|
|
13
|
+
"declaration": {
|
|
14
|
+
"name": "*",
|
|
15
|
+
"module": "src/vaadin-grid-pro.js"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"kind": "javascript-module",
|
|
22
|
+
"path": "vaadin-grid-pro-edit-column.js",
|
|
23
|
+
"declarations": [],
|
|
24
|
+
"exports": [
|
|
25
|
+
{
|
|
26
|
+
"kind": "js",
|
|
27
|
+
"name": "*",
|
|
28
|
+
"declaration": {
|
|
29
|
+
"name": "*",
|
|
30
|
+
"module": "src/vaadin-grid-pro-edit-column.js"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"kind": "javascript-module",
|
|
37
|
+
"path": "src/vaadin-grid-pro-edit-checkbox.js",
|
|
38
|
+
"declarations": [],
|
|
39
|
+
"exports": []
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"kind": "javascript-module",
|
|
43
|
+
"path": "src/vaadin-grid-pro-edit-column-mixin.js",
|
|
44
|
+
"declarations": [
|
|
45
|
+
{
|
|
46
|
+
"kind": "mixin",
|
|
47
|
+
"description": "",
|
|
48
|
+
"name": "GridProEditColumnMixin",
|
|
49
|
+
"members": [
|
|
50
|
+
{
|
|
51
|
+
"kind": "field",
|
|
52
|
+
"name": "editModeRenderer",
|
|
53
|
+
"privacy": "public",
|
|
54
|
+
"type": {
|
|
55
|
+
"text": "!GridBodyRenderer | null | undefined"
|
|
56
|
+
},
|
|
57
|
+
"description": "Custom function for rendering the cell content in edit mode.\nReceives three arguments:\n\n- `root` The cell content DOM element. Append your editor component to it.\n- `column` The `<vaadin-grid-pro-edit-column>` element.\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.\n - `model.detailsOpened` Details opened state.",
|
|
58
|
+
"attribute": "edit-mode-renderer"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"kind": "field",
|
|
62
|
+
"name": "editorOptions",
|
|
63
|
+
"privacy": "public",
|
|
64
|
+
"type": {
|
|
65
|
+
"text": "!Array<string>"
|
|
66
|
+
},
|
|
67
|
+
"description": "The list of options which should be passed to cell editor component.\nUsed with the `select` editor type, to provide a list of items.",
|
|
68
|
+
"attribute": "editor-options"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"kind": "field",
|
|
72
|
+
"name": "editorType",
|
|
73
|
+
"privacy": "public",
|
|
74
|
+
"type": {
|
|
75
|
+
"text": "!GridProEditorType"
|
|
76
|
+
},
|
|
77
|
+
"description": "Type of the cell editor component to be rendered. Allowed values:\n- `text` (default) - renders a text field\n- `checkbox` - renders a checkbox\n- `select` - renders a select with a list of items passed as `editorOptions`\n\nEditor type is set to `custom` when `editModeRenderer` is set.",
|
|
78
|
+
"attribute": "editor-type"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"kind": "field",
|
|
82
|
+
"name": "editorValuePath",
|
|
83
|
+
"privacy": "public",
|
|
84
|
+
"type": {
|
|
85
|
+
"text": "string"
|
|
86
|
+
},
|
|
87
|
+
"description": "Path of the property used for the value of the editor component.",
|
|
88
|
+
"attribute": "editor-value-path"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"kind": "field",
|
|
92
|
+
"name": "isCellEditable",
|
|
93
|
+
"privacy": "public",
|
|
94
|
+
"type": {
|
|
95
|
+
"text": "(model: GridItemModel) => boolean"
|
|
96
|
+
},
|
|
97
|
+
"description": "A function to check whether a specific cell of this column can be\nedited. This allows to disable editing of individual rows or cells,\nbased on the item.\n\nReceives a `model` object containing the item for an individual row,\nand should return a boolean indicating whether the column's cell in\nthat row is editable.\n\nThe `model` object contains:\n- `model.index` The index of the item.\n- `model.item` The item.\n- `model.expanded` Sublevel toggle state.\n- `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n- `model.selected` Selected state.",
|
|
98
|
+
"attribute": "is-cell-editable"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"kind": "field",
|
|
102
|
+
"name": "path",
|
|
103
|
+
"privacy": "public",
|
|
104
|
+
"type": {
|
|
105
|
+
"text": "string"
|
|
106
|
+
},
|
|
107
|
+
"description": "JS Path of the property in the item used for the editable content.",
|
|
108
|
+
"attribute": "path"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"attributes": [
|
|
112
|
+
{
|
|
113
|
+
"name": "edit-mode-renderer",
|
|
114
|
+
"type": {
|
|
115
|
+
"text": "!GridBodyRenderer | null | undefined"
|
|
116
|
+
},
|
|
117
|
+
"description": "Custom function for rendering the cell content in edit mode.\nReceives three arguments:\n\n- `root` The cell content DOM element. Append your editor component to it.\n- `column` The `<vaadin-grid-pro-edit-column>` element.\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.\n - `model.detailsOpened` Details opened state.",
|
|
118
|
+
"fieldName": "editModeRenderer"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "editor-type",
|
|
122
|
+
"type": {
|
|
123
|
+
"text": "!GridProEditorType"
|
|
124
|
+
},
|
|
125
|
+
"description": "Type of the cell editor component to be rendered. Allowed values:\n- `text` (default) - renders a text field\n- `checkbox` - renders a checkbox\n- `select` - renders a select with a list of items passed as `editorOptions`\n\nEditor type is set to `custom` when `editModeRenderer` is set.",
|
|
126
|
+
"fieldName": "editorType"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "editor-value-path",
|
|
130
|
+
"type": {
|
|
131
|
+
"text": "string"
|
|
132
|
+
},
|
|
133
|
+
"description": "Path of the property used for the value of the editor component.",
|
|
134
|
+
"fieldName": "editorValuePath"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "is-cell-editable",
|
|
138
|
+
"type": {
|
|
139
|
+
"text": "(model: GridItemModel) => boolean"
|
|
140
|
+
},
|
|
141
|
+
"description": "A function to check whether a specific cell of this column can be\nedited. This allows to disable editing of individual rows or cells,\nbased on the item.\n\nReceives a `model` object containing the item for an individual row,\nand should return a boolean indicating whether the column's cell in\nthat row is editable.\n\nThe `model` object contains:\n- `model.index` The index of the item.\n- `model.item` The item.\n- `model.expanded` Sublevel toggle state.\n- `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n- `model.selected` Selected state.",
|
|
142
|
+
"fieldName": "isCellEditable"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "path",
|
|
146
|
+
"type": {
|
|
147
|
+
"text": "string"
|
|
148
|
+
},
|
|
149
|
+
"description": "JS Path of the property in the item used for the editable content.",
|
|
150
|
+
"fieldName": "path"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"parameters": [
|
|
154
|
+
{
|
|
155
|
+
"name": "superClass"
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"exports": [
|
|
161
|
+
{
|
|
162
|
+
"kind": "js",
|
|
163
|
+
"name": "GridProEditColumnMixin",
|
|
164
|
+
"declaration": {
|
|
165
|
+
"name": "GridProEditColumnMixin",
|
|
166
|
+
"module": "src/vaadin-grid-pro-edit-column-mixin.js"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"kind": "javascript-module",
|
|
173
|
+
"path": "src/vaadin-grid-pro-edit-column.js",
|
|
174
|
+
"declarations": [
|
|
175
|
+
{
|
|
176
|
+
"kind": "class",
|
|
177
|
+
"description": "`<vaadin-grid-pro-edit-column>` is a helper element for the `<vaadin-grid-pro>`\nthat provides default inline editing for the items.\n\n__Note that the `path` property must be explicitly specified for edit column.__\n\n#### Example:\n```html\n<vaadin-grid-pro>\n <vaadin-grid-pro-edit-column path=\"name.first\"></vaadin-grid-pro-edit-column>\n\n <vaadin-grid-column>\n ...\n```",
|
|
178
|
+
"name": "GridProEditColumn",
|
|
179
|
+
"members": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "field",
|
|
182
|
+
"name": "autoWidth",
|
|
183
|
+
"privacy": "public",
|
|
184
|
+
"type": {
|
|
185
|
+
"text": "boolean"
|
|
186
|
+
},
|
|
187
|
+
"description": "Automatically sets the width of the column based on the column contents when this is set to `true`.\n\nFor performance reasons the column width is calculated automatically only once when the grid items\nare rendered for the first time and the calculation only considers the rows which are currently\nrendered in DOM (a bit more than what is currently visible). If the grid is scrolled, or the cell\ncontent changes, the column width might not match the contents anymore.\n\nHidden columns are ignored in the calculation and their widths are not automatically updated when\nyou show a column that was initially hidden.\n\nYou can manually trigger the auto sizing behavior again by calling `grid.recalculateColumnWidths()`.\n\nThe column width may still grow larger when `flexGrow` is not 0.",
|
|
188
|
+
"attribute": "auto-width",
|
|
189
|
+
"inheritedFrom": {
|
|
190
|
+
"name": "GridColumn",
|
|
191
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"kind": "field",
|
|
196
|
+
"name": "editModeRenderer",
|
|
197
|
+
"privacy": "public",
|
|
198
|
+
"type": {
|
|
199
|
+
"text": "!GridBodyRenderer | null | undefined"
|
|
200
|
+
},
|
|
201
|
+
"description": "Custom function for rendering the cell content in edit mode.\nReceives three arguments:\n\n- `root` The cell content DOM element. Append your editor component to it.\n- `column` The `<vaadin-grid-pro-edit-column>` element.\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.\n - `model.detailsOpened` Details opened state.",
|
|
202
|
+
"attribute": "edit-mode-renderer",
|
|
203
|
+
"inheritedFrom": {
|
|
204
|
+
"name": "GridProEditColumnMixin",
|
|
205
|
+
"module": "src/vaadin-grid-pro-edit-column-mixin.js"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"kind": "field",
|
|
210
|
+
"name": "editorOptions",
|
|
211
|
+
"privacy": "public",
|
|
212
|
+
"type": {
|
|
213
|
+
"text": "!Array<string>"
|
|
214
|
+
},
|
|
215
|
+
"description": "The list of options which should be passed to cell editor component.\nUsed with the `select` editor type, to provide a list of items.",
|
|
216
|
+
"attribute": "editor-options",
|
|
217
|
+
"inheritedFrom": {
|
|
218
|
+
"name": "GridProEditColumnMixin",
|
|
219
|
+
"module": "src/vaadin-grid-pro-edit-column-mixin.js"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"kind": "field",
|
|
224
|
+
"name": "editorType",
|
|
225
|
+
"privacy": "public",
|
|
226
|
+
"type": {
|
|
227
|
+
"text": "!GridProEditorType"
|
|
228
|
+
},
|
|
229
|
+
"description": "Type of the cell editor component to be rendered. Allowed values:\n- `text` (default) - renders a text field\n- `checkbox` - renders a checkbox\n- `select` - renders a select with a list of items passed as `editorOptions`\n\nEditor type is set to `custom` when `editModeRenderer` is set.",
|
|
230
|
+
"attribute": "editor-type",
|
|
231
|
+
"inheritedFrom": {
|
|
232
|
+
"name": "GridProEditColumnMixin",
|
|
233
|
+
"module": "src/vaadin-grid-pro-edit-column-mixin.js"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"kind": "field",
|
|
238
|
+
"name": "editorValuePath",
|
|
239
|
+
"privacy": "public",
|
|
240
|
+
"type": {
|
|
241
|
+
"text": "string"
|
|
242
|
+
},
|
|
243
|
+
"description": "Path of the property used for the value of the editor component.",
|
|
244
|
+
"attribute": "editor-value-path",
|
|
245
|
+
"inheritedFrom": {
|
|
246
|
+
"name": "GridProEditColumnMixin",
|
|
247
|
+
"module": "src/vaadin-grid-pro-edit-column-mixin.js"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"kind": "field",
|
|
252
|
+
"name": "flexGrow",
|
|
253
|
+
"privacy": "public",
|
|
254
|
+
"type": {
|
|
255
|
+
"text": "number"
|
|
256
|
+
},
|
|
257
|
+
"description": "Flex grow ratio for the cell widths. When set to 0, cell width is fixed.",
|
|
258
|
+
"attribute": "flex-grow",
|
|
259
|
+
"inheritedFrom": {
|
|
260
|
+
"name": "GridColumn",
|
|
261
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"kind": "field",
|
|
266
|
+
"name": "footerPartName",
|
|
267
|
+
"privacy": "public",
|
|
268
|
+
"type": {
|
|
269
|
+
"text": "string"
|
|
270
|
+
},
|
|
271
|
+
"description": "Custom part name for the footer cell.",
|
|
272
|
+
"attribute": "footer-part-name",
|
|
273
|
+
"inheritedFrom": {
|
|
274
|
+
"name": "GridColumn",
|
|
275
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"kind": "field",
|
|
280
|
+
"name": "footerRenderer",
|
|
281
|
+
"privacy": "public",
|
|
282
|
+
"type": {
|
|
283
|
+
"text": "GridHeaderFooterRenderer | null | undefined"
|
|
284
|
+
},
|
|
285
|
+
"description": "Custom function for rendering the footer content.\nReceives two arguments:\n\n- `root` The footer cell content DOM element. Append your content to it.\n- `column` The `<vaadin-grid-column>` element.",
|
|
286
|
+
"attribute": "footer-renderer",
|
|
287
|
+
"inheritedFrom": {
|
|
288
|
+
"name": "GridColumn",
|
|
289
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"kind": "field",
|
|
294
|
+
"name": "frozen",
|
|
295
|
+
"privacy": "public",
|
|
296
|
+
"type": {
|
|
297
|
+
"text": "boolean"
|
|
298
|
+
},
|
|
299
|
+
"description": "When true, the column is frozen. When a column inside of a column group is frozen,\nall of the sibling columns inside the group will get frozen also.",
|
|
300
|
+
"attribute": "frozen",
|
|
301
|
+
"inheritedFrom": {
|
|
302
|
+
"name": "GridColumn",
|
|
303
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"kind": "field",
|
|
308
|
+
"name": "frozenToEnd",
|
|
309
|
+
"privacy": "public",
|
|
310
|
+
"type": {
|
|
311
|
+
"text": "boolean"
|
|
312
|
+
},
|
|
313
|
+
"description": "When true, the column is frozen to end of grid.\n\nWhen a column inside of a column group is frozen to end, all of the sibling columns\ninside the group will get frozen to end also.\n\nColumn can not be set as `frozen` and `frozenToEnd` at the same time.",
|
|
314
|
+
"attribute": "frozen-to-end",
|
|
315
|
+
"inheritedFrom": {
|
|
316
|
+
"name": "GridColumn",
|
|
317
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"kind": "field",
|
|
322
|
+
"name": "header",
|
|
323
|
+
"privacy": "public",
|
|
324
|
+
"type": {
|
|
325
|
+
"text": "string"
|
|
326
|
+
},
|
|
327
|
+
"description": "Text content to display in the header cell of the column.",
|
|
328
|
+
"attribute": "header",
|
|
329
|
+
"inheritedFrom": {
|
|
330
|
+
"name": "GridColumn",
|
|
331
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"kind": "field",
|
|
336
|
+
"name": "headerPartName",
|
|
337
|
+
"privacy": "public",
|
|
338
|
+
"type": {
|
|
339
|
+
"text": "string"
|
|
340
|
+
},
|
|
341
|
+
"description": "Custom part name for the header cell.",
|
|
342
|
+
"attribute": "header-part-name",
|
|
343
|
+
"inheritedFrom": {
|
|
344
|
+
"name": "GridColumn",
|
|
345
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"kind": "field",
|
|
350
|
+
"name": "headerRenderer",
|
|
351
|
+
"privacy": "public",
|
|
352
|
+
"type": {
|
|
353
|
+
"text": "GridHeaderFooterRenderer | null | undefined"
|
|
354
|
+
},
|
|
355
|
+
"description": "Custom function for rendering the header content.\nReceives two arguments:\n\n- `root` The header cell content DOM element. Append your content to it.\n- `column` The `<vaadin-grid-column>` element.",
|
|
356
|
+
"attribute": "header-renderer",
|
|
357
|
+
"inheritedFrom": {
|
|
358
|
+
"name": "GridColumn",
|
|
359
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"kind": "field",
|
|
364
|
+
"name": "hidden",
|
|
365
|
+
"privacy": "public",
|
|
366
|
+
"type": {
|
|
367
|
+
"text": "boolean"
|
|
368
|
+
},
|
|
369
|
+
"description": "When set to true, the cells for this column are hidden.",
|
|
370
|
+
"attribute": "hidden",
|
|
371
|
+
"inheritedFrom": {
|
|
372
|
+
"name": "GridColumn",
|
|
373
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"kind": "field",
|
|
378
|
+
"name": "isCellEditable",
|
|
379
|
+
"privacy": "public",
|
|
380
|
+
"type": {
|
|
381
|
+
"text": "(model: GridItemModel) => boolean"
|
|
382
|
+
},
|
|
383
|
+
"description": "A function to check whether a specific cell of this column can be\nedited. This allows to disable editing of individual rows or cells,\nbased on the item.\n\nReceives a `model` object containing the item for an individual row,\nand should return a boolean indicating whether the column's cell in\nthat row is editable.\n\nThe `model` object contains:\n- `model.index` The index of the item.\n- `model.item` The item.\n- `model.expanded` Sublevel toggle state.\n- `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n- `model.selected` Selected state.",
|
|
384
|
+
"attribute": "is-cell-editable",
|
|
385
|
+
"inheritedFrom": {
|
|
386
|
+
"name": "GridProEditColumnMixin",
|
|
387
|
+
"module": "src/vaadin-grid-pro-edit-column-mixin.js"
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"kind": "field",
|
|
392
|
+
"name": "path",
|
|
393
|
+
"privacy": "public",
|
|
394
|
+
"type": {
|
|
395
|
+
"text": "string"
|
|
396
|
+
},
|
|
397
|
+
"description": "JS Path of the property in the item used for the editable content.",
|
|
398
|
+
"attribute": "path",
|
|
399
|
+
"inheritedFrom": {
|
|
400
|
+
"name": "GridColumn",
|
|
401
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"kind": "field",
|
|
406
|
+
"name": "renderer",
|
|
407
|
+
"privacy": "public",
|
|
408
|
+
"type": {
|
|
409
|
+
"text": "GridBodyRenderer | null | undefined"
|
|
410
|
+
},
|
|
411
|
+
"description": "Custom function for rendering the cell content.\nReceives three arguments:\n\n- `root` The cell content DOM element. Append your content to it.\n- `column` The `<vaadin-grid-column>` element.\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.\n - `model.detailsOpened` Details opened state.\n - `model.hasChildren` Whether the item has children.",
|
|
412
|
+
"attribute": "renderer",
|
|
413
|
+
"inheritedFrom": {
|
|
414
|
+
"name": "GridColumn",
|
|
415
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"kind": "field",
|
|
420
|
+
"name": "resizable",
|
|
421
|
+
"privacy": "public",
|
|
422
|
+
"type": {
|
|
423
|
+
"text": "boolean"
|
|
424
|
+
},
|
|
425
|
+
"description": "When set to true, the column is user-resizable.",
|
|
426
|
+
"default": "false",
|
|
427
|
+
"attribute": "resizable",
|
|
428
|
+
"inheritedFrom": {
|
|
429
|
+
"name": "GridColumn",
|
|
430
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"kind": "field",
|
|
435
|
+
"name": "rowHeader",
|
|
436
|
+
"privacy": "public",
|
|
437
|
+
"type": {
|
|
438
|
+
"text": "boolean"
|
|
439
|
+
},
|
|
440
|
+
"description": "When true, the cells for this column will be rendered with the `role` attribute\nset as `rowheader`, instead of the `gridcell` role value used by default.\n\nWhen a column is set as row header, its cells will be announced by screen readers\nwhile navigating to help user identify the current row as uniquely as possible.",
|
|
441
|
+
"attribute": "row-header",
|
|
442
|
+
"inheritedFrom": {
|
|
443
|
+
"name": "GridColumn",
|
|
444
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"kind": "field",
|
|
449
|
+
"name": "textAlign",
|
|
450
|
+
"privacy": "public",
|
|
451
|
+
"type": {
|
|
452
|
+
"text": "GridColumnTextAlign | null | undefined"
|
|
453
|
+
},
|
|
454
|
+
"description": "Aligns the columns cell content horizontally.\nSupported values: \"start\", \"center\" and \"end\".",
|
|
455
|
+
"attribute": "text-align",
|
|
456
|
+
"inheritedFrom": {
|
|
457
|
+
"name": "GridColumn",
|
|
458
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"kind": "field",
|
|
463
|
+
"name": "width",
|
|
464
|
+
"privacy": "public",
|
|
465
|
+
"type": {
|
|
466
|
+
"text": "string"
|
|
467
|
+
},
|
|
468
|
+
"description": "Width of the cells for this column.\n\nPlease note that using the `em` length unit is discouraged as\nit might lead to misalignment issues if the header, body, and footer\ncells have different font sizes. Instead, use `rem` if you need\na length unit relative to the font size.",
|
|
469
|
+
"attribute": "width",
|
|
470
|
+
"inheritedFrom": {
|
|
471
|
+
"name": "GridColumn",
|
|
472
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"mixins": [
|
|
477
|
+
{
|
|
478
|
+
"name": "GridProEditColumnMixin",
|
|
479
|
+
"module": "src/vaadin-grid-pro-edit-column-mixin.js"
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"superclass": {
|
|
483
|
+
"name": "GridColumn",
|
|
484
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
485
|
+
},
|
|
486
|
+
"tagName": "vaadin-grid-pro-edit-column",
|
|
487
|
+
"customElement": true,
|
|
488
|
+
"attributes": [
|
|
489
|
+
{
|
|
490
|
+
"name": "auto-width",
|
|
491
|
+
"type": {
|
|
492
|
+
"text": "boolean"
|
|
493
|
+
},
|
|
494
|
+
"description": "Automatically sets the width of the column based on the column contents when this is set to `true`.\n\nFor performance reasons the column width is calculated automatically only once when the grid items\nare rendered for the first time and the calculation only considers the rows which are currently\nrendered in DOM (a bit more than what is currently visible). If the grid is scrolled, or the cell\ncontent changes, the column width might not match the contents anymore.\n\nHidden columns are ignored in the calculation and their widths are not automatically updated when\nyou show a column that was initially hidden.\n\nYou can manually trigger the auto sizing behavior again by calling `grid.recalculateColumnWidths()`.\n\nThe column width may still grow larger when `flexGrow` is not 0.",
|
|
495
|
+
"fieldName": "autoWidth",
|
|
496
|
+
"inheritedFrom": {
|
|
497
|
+
"name": "GridColumn",
|
|
498
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "edit-mode-renderer",
|
|
503
|
+
"type": {
|
|
504
|
+
"text": "!GridBodyRenderer | null | undefined"
|
|
505
|
+
},
|
|
506
|
+
"description": "Custom function for rendering the cell content in edit mode.\nReceives three arguments:\n\n- `root` The cell content DOM element. Append your editor component to it.\n- `column` The `<vaadin-grid-pro-edit-column>` element.\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.\n - `model.detailsOpened` Details opened state.",
|
|
507
|
+
"fieldName": "editModeRenderer",
|
|
508
|
+
"inheritedFrom": {
|
|
509
|
+
"name": "GridProEditColumnMixin",
|
|
510
|
+
"module": "src/vaadin-grid-pro-edit-column-mixin.js"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "editor-type",
|
|
515
|
+
"type": {
|
|
516
|
+
"text": "!GridProEditorType"
|
|
517
|
+
},
|
|
518
|
+
"description": "Type of the cell editor component to be rendered. Allowed values:\n- `text` (default) - renders a text field\n- `checkbox` - renders a checkbox\n- `select` - renders a select with a list of items passed as `editorOptions`\n\nEditor type is set to `custom` when `editModeRenderer` is set.",
|
|
519
|
+
"fieldName": "editorType",
|
|
520
|
+
"inheritedFrom": {
|
|
521
|
+
"name": "GridProEditColumnMixin",
|
|
522
|
+
"module": "src/vaadin-grid-pro-edit-column-mixin.js"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "editor-value-path",
|
|
527
|
+
"type": {
|
|
528
|
+
"text": "string"
|
|
529
|
+
},
|
|
530
|
+
"description": "Path of the property used for the value of the editor component.",
|
|
531
|
+
"fieldName": "editorValuePath",
|
|
532
|
+
"inheritedFrom": {
|
|
533
|
+
"name": "GridProEditColumnMixin",
|
|
534
|
+
"module": "src/vaadin-grid-pro-edit-column-mixin.js"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "flex-grow",
|
|
539
|
+
"type": {
|
|
540
|
+
"text": "number"
|
|
541
|
+
},
|
|
542
|
+
"description": "Flex grow ratio for the cell widths. When set to 0, cell width is fixed.",
|
|
543
|
+
"fieldName": "flexGrow",
|
|
544
|
+
"inheritedFrom": {
|
|
545
|
+
"name": "GridColumn",
|
|
546
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "footer-part-name",
|
|
551
|
+
"type": {
|
|
552
|
+
"text": "string"
|
|
553
|
+
},
|
|
554
|
+
"description": "Custom part name for the footer cell.",
|
|
555
|
+
"fieldName": "footerPartName",
|
|
556
|
+
"inheritedFrom": {
|
|
557
|
+
"name": "GridColumn",
|
|
558
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "footer-renderer",
|
|
563
|
+
"type": {
|
|
564
|
+
"text": "GridHeaderFooterRenderer | null | undefined"
|
|
565
|
+
},
|
|
566
|
+
"description": "Custom function for rendering the footer content.\nReceives two arguments:\n\n- `root` The footer cell content DOM element. Append your content to it.\n- `column` The `<vaadin-grid-column>` element.",
|
|
567
|
+
"fieldName": "footerRenderer",
|
|
568
|
+
"inheritedFrom": {
|
|
569
|
+
"name": "GridColumn",
|
|
570
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "frozen",
|
|
575
|
+
"type": {
|
|
576
|
+
"text": "boolean"
|
|
577
|
+
},
|
|
578
|
+
"description": "When true, the column is frozen. When a column inside of a column group is frozen,\nall of the sibling columns inside the group will get frozen also.",
|
|
579
|
+
"fieldName": "frozen",
|
|
580
|
+
"inheritedFrom": {
|
|
581
|
+
"name": "GridColumn",
|
|
582
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "frozen-to-end",
|
|
587
|
+
"type": {
|
|
588
|
+
"text": "boolean"
|
|
589
|
+
},
|
|
590
|
+
"description": "When true, the column is frozen to end of grid.\n\nWhen a column inside of a column group is frozen to end, all of the sibling columns\ninside the group will get frozen to end also.\n\nColumn can not be set as `frozen` and `frozenToEnd` at the same time.",
|
|
591
|
+
"fieldName": "frozenToEnd",
|
|
592
|
+
"inheritedFrom": {
|
|
593
|
+
"name": "GridColumn",
|
|
594
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "header",
|
|
599
|
+
"type": {
|
|
600
|
+
"text": "string"
|
|
601
|
+
},
|
|
602
|
+
"description": "Text content to display in the header cell of the column.",
|
|
603
|
+
"fieldName": "header",
|
|
604
|
+
"inheritedFrom": {
|
|
605
|
+
"name": "GridColumn",
|
|
606
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "header-part-name",
|
|
611
|
+
"type": {
|
|
612
|
+
"text": "string"
|
|
613
|
+
},
|
|
614
|
+
"description": "Custom part name for the header cell.",
|
|
615
|
+
"fieldName": "headerPartName",
|
|
616
|
+
"inheritedFrom": {
|
|
617
|
+
"name": "GridColumn",
|
|
618
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"name": "header-renderer",
|
|
623
|
+
"type": {
|
|
624
|
+
"text": "GridHeaderFooterRenderer | null | undefined"
|
|
625
|
+
},
|
|
626
|
+
"description": "Custom function for rendering the header content.\nReceives two arguments:\n\n- `root` The header cell content DOM element. Append your content to it.\n- `column` The `<vaadin-grid-column>` element.",
|
|
627
|
+
"fieldName": "headerRenderer",
|
|
628
|
+
"inheritedFrom": {
|
|
629
|
+
"name": "GridColumn",
|
|
630
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"name": "hidden",
|
|
635
|
+
"type": {
|
|
636
|
+
"text": "boolean"
|
|
637
|
+
},
|
|
638
|
+
"description": "When set to true, the cells for this column are hidden.",
|
|
639
|
+
"fieldName": "hidden",
|
|
640
|
+
"inheritedFrom": {
|
|
641
|
+
"name": "GridColumn",
|
|
642
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"name": "is-cell-editable",
|
|
647
|
+
"type": {
|
|
648
|
+
"text": "(model: GridItemModel) => boolean"
|
|
649
|
+
},
|
|
650
|
+
"description": "A function to check whether a specific cell of this column can be\nedited. This allows to disable editing of individual rows or cells,\nbased on the item.\n\nReceives a `model` object containing the item for an individual row,\nand should return a boolean indicating whether the column's cell in\nthat row is editable.\n\nThe `model` object contains:\n- `model.index` The index of the item.\n- `model.item` The item.\n- `model.expanded` Sublevel toggle state.\n- `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n- `model.selected` Selected state.",
|
|
651
|
+
"fieldName": "isCellEditable",
|
|
652
|
+
"inheritedFrom": {
|
|
653
|
+
"name": "GridProEditColumnMixin",
|
|
654
|
+
"module": "src/vaadin-grid-pro-edit-column-mixin.js"
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"name": "path",
|
|
659
|
+
"type": {
|
|
660
|
+
"text": "string"
|
|
661
|
+
},
|
|
662
|
+
"description": "JS Path of the property in the item used for the editable content.",
|
|
663
|
+
"fieldName": "path",
|
|
664
|
+
"inheritedFrom": {
|
|
665
|
+
"name": "GridColumn",
|
|
666
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"name": "renderer",
|
|
671
|
+
"type": {
|
|
672
|
+
"text": "GridBodyRenderer | null | undefined"
|
|
673
|
+
},
|
|
674
|
+
"description": "Custom function for rendering the cell content.\nReceives three arguments:\n\n- `root` The cell content DOM element. Append your content to it.\n- `column` The `<vaadin-grid-column>` element.\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.\n - `model.detailsOpened` Details opened state.\n - `model.hasChildren` Whether the item has children.",
|
|
675
|
+
"fieldName": "renderer",
|
|
676
|
+
"inheritedFrom": {
|
|
677
|
+
"name": "GridColumn",
|
|
678
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"name": "resizable",
|
|
683
|
+
"type": {
|
|
684
|
+
"text": "boolean"
|
|
685
|
+
},
|
|
686
|
+
"description": "When set to true, the column is user-resizable.",
|
|
687
|
+
"default": "false",
|
|
688
|
+
"fieldName": "resizable",
|
|
689
|
+
"inheritedFrom": {
|
|
690
|
+
"name": "GridColumn",
|
|
691
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
692
|
+
}
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"name": "row-header",
|
|
696
|
+
"type": {
|
|
697
|
+
"text": "boolean"
|
|
698
|
+
},
|
|
699
|
+
"description": "When true, the cells for this column will be rendered with the `role` attribute\nset as `rowheader`, instead of the `gridcell` role value used by default.\n\nWhen a column is set as row header, its cells will be announced by screen readers\nwhile navigating to help user identify the current row as uniquely as possible.",
|
|
700
|
+
"fieldName": "rowHeader",
|
|
701
|
+
"inheritedFrom": {
|
|
702
|
+
"name": "GridColumn",
|
|
703
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "text-align",
|
|
708
|
+
"type": {
|
|
709
|
+
"text": "GridColumnTextAlign | null | undefined"
|
|
710
|
+
},
|
|
711
|
+
"description": "Aligns the columns cell content horizontally.\nSupported values: \"start\", \"center\" and \"end\".",
|
|
712
|
+
"fieldName": "textAlign",
|
|
713
|
+
"inheritedFrom": {
|
|
714
|
+
"name": "GridColumn",
|
|
715
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"name": "width",
|
|
720
|
+
"type": {
|
|
721
|
+
"text": "string"
|
|
722
|
+
},
|
|
723
|
+
"description": "Width of the cells for this column.\n\nPlease note that using the `em` length unit is discouraged as\nit might lead to misalignment issues if the header, body, and footer\ncells have different font sizes. Instead, use `rem` if you need\na length unit relative to the font size.",
|
|
724
|
+
"fieldName": "width",
|
|
725
|
+
"inheritedFrom": {
|
|
726
|
+
"name": "GridColumn",
|
|
727
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
],
|
|
731
|
+
"events": []
|
|
732
|
+
}
|
|
733
|
+
],
|
|
734
|
+
"exports": [
|
|
735
|
+
{
|
|
736
|
+
"kind": "js",
|
|
737
|
+
"name": "GridProEditColumn",
|
|
738
|
+
"declaration": {
|
|
739
|
+
"name": "GridProEditColumn",
|
|
740
|
+
"module": "src/vaadin-grid-pro-edit-column.js"
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
]
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"kind": "javascript-module",
|
|
747
|
+
"path": "src/vaadin-grid-pro-edit-select-mixin.js",
|
|
748
|
+
"declarations": [
|
|
749
|
+
{
|
|
750
|
+
"kind": "mixin",
|
|
751
|
+
"description": "",
|
|
752
|
+
"name": "GridProEditSelectMixin",
|
|
753
|
+
"members": [
|
|
754
|
+
{
|
|
755
|
+
"kind": "field",
|
|
756
|
+
"name": "options",
|
|
757
|
+
"privacy": "public",
|
|
758
|
+
"type": {
|
|
759
|
+
"text": "array"
|
|
760
|
+
},
|
|
761
|
+
"attribute": "options"
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"kind": "method",
|
|
765
|
+
"name": "ready"
|
|
766
|
+
}
|
|
767
|
+
],
|
|
768
|
+
"attributes": [
|
|
769
|
+
{
|
|
770
|
+
"name": "options",
|
|
771
|
+
"type": {
|
|
772
|
+
"text": "array"
|
|
773
|
+
},
|
|
774
|
+
"fieldName": "options"
|
|
775
|
+
}
|
|
776
|
+
],
|
|
777
|
+
"parameters": [
|
|
778
|
+
{
|
|
779
|
+
"name": "superClass"
|
|
780
|
+
}
|
|
781
|
+
]
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"exports": [
|
|
785
|
+
{
|
|
786
|
+
"kind": "js",
|
|
787
|
+
"name": "GridProEditSelectMixin",
|
|
788
|
+
"declaration": {
|
|
789
|
+
"name": "GridProEditSelectMixin",
|
|
790
|
+
"module": "src/vaadin-grid-pro-edit-select-mixin.js"
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
]
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"kind": "javascript-module",
|
|
797
|
+
"path": "src/vaadin-grid-pro-edit-select.js",
|
|
798
|
+
"declarations": [],
|
|
799
|
+
"exports": []
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"kind": "javascript-module",
|
|
803
|
+
"path": "src/vaadin-grid-pro-edit-text-field.js",
|
|
804
|
+
"declarations": [],
|
|
805
|
+
"exports": []
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"kind": "javascript-module",
|
|
809
|
+
"path": "src/vaadin-grid-pro-inline-editing-mixin.js",
|
|
810
|
+
"declarations": [
|
|
811
|
+
{
|
|
812
|
+
"kind": "mixin",
|
|
813
|
+
"description": "",
|
|
814
|
+
"name": "InlineEditingMixin",
|
|
815
|
+
"members": [
|
|
816
|
+
{
|
|
817
|
+
"kind": "field",
|
|
818
|
+
"name": "editOnClick",
|
|
819
|
+
"privacy": "public",
|
|
820
|
+
"type": {
|
|
821
|
+
"text": "boolean"
|
|
822
|
+
},
|
|
823
|
+
"description": "When true, the grid enters cell edit mode on a single click\ninstead of the default double click.",
|
|
824
|
+
"attribute": "edit-on-click"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"kind": "field",
|
|
828
|
+
"name": "enterNextRow",
|
|
829
|
+
"privacy": "public",
|
|
830
|
+
"type": {
|
|
831
|
+
"text": "boolean"
|
|
832
|
+
},
|
|
833
|
+
"description": "When true, pressing Enter while in cell edit mode\nwill move focus to the editable cell in the next row\n(Shift + Enter - same, but for previous row).",
|
|
834
|
+
"attribute": "enter-next-row"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"kind": "field",
|
|
838
|
+
"name": "singleCellEdit",
|
|
839
|
+
"privacy": "public",
|
|
840
|
+
"type": {
|
|
841
|
+
"text": "boolean"
|
|
842
|
+
},
|
|
843
|
+
"description": "When true, after moving to next or previous editable cell using\nTab / Shift+Tab, it will be focused without edit mode.\n\nWhen `enterNextRow` is true, pressing Enter will also\npreserve edit mode, otherwise, it will have no effect.",
|
|
844
|
+
"attribute": "single-cell-edit"
|
|
845
|
+
}
|
|
846
|
+
],
|
|
847
|
+
"events": [
|
|
848
|
+
{
|
|
849
|
+
"name": "cell-edit-started",
|
|
850
|
+
"type": {
|
|
851
|
+
"text": "CustomEvent"
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"name": "item-property-changed",
|
|
856
|
+
"type": {
|
|
857
|
+
"text": "CustomEvent"
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
],
|
|
861
|
+
"attributes": [
|
|
862
|
+
{
|
|
863
|
+
"name": "edit-on-click",
|
|
864
|
+
"type": {
|
|
865
|
+
"text": "boolean"
|
|
866
|
+
},
|
|
867
|
+
"description": "When true, the grid enters cell edit mode on a single click\ninstead of the default double click.",
|
|
868
|
+
"fieldName": "editOnClick"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "enter-next-row",
|
|
872
|
+
"type": {
|
|
873
|
+
"text": "boolean"
|
|
874
|
+
},
|
|
875
|
+
"description": "When true, pressing Enter while in cell edit mode\nwill move focus to the editable cell in the next row\n(Shift + Enter - same, but for previous row).",
|
|
876
|
+
"fieldName": "enterNextRow"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"name": "single-cell-edit",
|
|
880
|
+
"type": {
|
|
881
|
+
"text": "boolean"
|
|
882
|
+
},
|
|
883
|
+
"description": "When true, after moving to next or previous editable cell using\nTab / Shift+Tab, it will be focused without edit mode.\n\nWhen `enterNextRow` is true, pressing Enter will also\npreserve edit mode, otherwise, it will have no effect.",
|
|
884
|
+
"fieldName": "singleCellEdit"
|
|
885
|
+
}
|
|
886
|
+
],
|
|
887
|
+
"parameters": [
|
|
888
|
+
{
|
|
889
|
+
"name": "superClass"
|
|
890
|
+
}
|
|
891
|
+
]
|
|
892
|
+
}
|
|
893
|
+
],
|
|
894
|
+
"exports": [
|
|
895
|
+
{
|
|
896
|
+
"kind": "js",
|
|
897
|
+
"name": "InlineEditingMixin",
|
|
898
|
+
"declaration": {
|
|
899
|
+
"name": "InlineEditingMixin",
|
|
900
|
+
"module": "src/vaadin-grid-pro-inline-editing-mixin.js"
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
]
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"kind": "javascript-module",
|
|
907
|
+
"path": "src/vaadin-grid-pro.js",
|
|
908
|
+
"declarations": [
|
|
909
|
+
{
|
|
910
|
+
"kind": "class",
|
|
911
|
+
"description": "\n`<vaadin-grid-pro>` is a high quality data grid / data table Web Component with extended functionality.\nIt extends `<vaadin-grid>` and adds extra features on top of the basic ones.\n\nSee [`<vaadin-grid>`](#/elements/vaadin-grid) documentation for details.\n\n```html\n<vaadin-grid-pro></vaadin-grid-pro>\n```\n\n### Internal components\n\nIn addition to `<vaadin-grid-pro>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-grid-pro-edit-checkbox>` - has the same API as [`<vaadin-checkbox>`](#/elements/vaadin-checkbox).\n- `<vaadin-grid-pro-edit-text-field>` - has the same API as [`<vaadin-text-field>`](#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](#/elements/vaadin-select).",
|
|
912
|
+
"name": "GridPro",
|
|
913
|
+
"members": [
|
|
914
|
+
{
|
|
915
|
+
"kind": "field",
|
|
916
|
+
"name": "accessibleName",
|
|
917
|
+
"privacy": "public",
|
|
918
|
+
"type": {
|
|
919
|
+
"text": "string"
|
|
920
|
+
},
|
|
921
|
+
"description": "String used to label the grid to screen reader users.",
|
|
922
|
+
"attribute": "accessible-name",
|
|
923
|
+
"inheritedFrom": {
|
|
924
|
+
"name": "Grid",
|
|
925
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"kind": "field",
|
|
930
|
+
"name": "activeItem",
|
|
931
|
+
"privacy": "public",
|
|
932
|
+
"type": {
|
|
933
|
+
"text": "GridItem"
|
|
934
|
+
},
|
|
935
|
+
"description": "The item user has last interacted with. Turns to `null` after user deactivates\nthe item by re-interacting with the currently active item.",
|
|
936
|
+
"attribute": "active-item",
|
|
937
|
+
"inheritedFrom": {
|
|
938
|
+
"name": "Grid",
|
|
939
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"kind": "field",
|
|
944
|
+
"name": "allRowsVisible",
|
|
945
|
+
"privacy": "public",
|
|
946
|
+
"type": {
|
|
947
|
+
"text": "boolean"
|
|
948
|
+
},
|
|
949
|
+
"description": "If true, the grid's height is defined by its rows.\n\nEffectively, this disables the grid's virtual scrolling so that all the rows are rendered in the DOM at once.\nIf the grid has a large number of items, using the feature is discouraged to avoid performance issues.",
|
|
950
|
+
"attribute": "all-rows-visible",
|
|
951
|
+
"inheritedFrom": {
|
|
952
|
+
"name": "Grid",
|
|
953
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
954
|
+
}
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"kind": "field",
|
|
958
|
+
"name": "cellPartNameGenerator",
|
|
959
|
+
"privacy": "public",
|
|
960
|
+
"type": {
|
|
961
|
+
"text": "GridCellPartNameGenerator | null | undefined"
|
|
962
|
+
},
|
|
963
|
+
"description": "A function that allows generating CSS `part` names for grid cells in Shadow DOM based\non their row and column, for styling from outside using the `::part()` selector.\n\nThe return value should be the generated part name as a string, or multiple part names\nseparated by whitespace characters.\n\nReceives two arguments:\n- `column` The `<vaadin-grid-column>` element (`undefined` for details-cell).\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.",
|
|
964
|
+
"attribute": "cell-part-name-generator",
|
|
965
|
+
"inheritedFrom": {
|
|
966
|
+
"name": "Grid",
|
|
967
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"kind": "method",
|
|
972
|
+
"name": "clearCache",
|
|
973
|
+
"description": "Clears the cached pages and reloads data from dataprovider when needed.",
|
|
974
|
+
"inheritedFrom": {
|
|
975
|
+
"name": "Grid",
|
|
976
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"kind": "method",
|
|
981
|
+
"name": "closeItemDetails",
|
|
982
|
+
"parameters": [
|
|
983
|
+
{
|
|
984
|
+
"name": "item",
|
|
985
|
+
"type": {
|
|
986
|
+
"text": "!GridItem"
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
],
|
|
990
|
+
"description": "Close the details row of a given item.",
|
|
991
|
+
"inheritedFrom": {
|
|
992
|
+
"name": "Grid",
|
|
993
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"kind": "method",
|
|
998
|
+
"name": "collapseItem",
|
|
999
|
+
"parameters": [
|
|
1000
|
+
{
|
|
1001
|
+
"name": "item",
|
|
1002
|
+
"type": {
|
|
1003
|
+
"text": "!GridItem"
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
],
|
|
1007
|
+
"description": "Collapses the given item tree.",
|
|
1008
|
+
"inheritedFrom": {
|
|
1009
|
+
"name": "Grid",
|
|
1010
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"kind": "field",
|
|
1015
|
+
"name": "columnRendering",
|
|
1016
|
+
"privacy": "public",
|
|
1017
|
+
"type": {
|
|
1018
|
+
"text": "!ColumnRendering"
|
|
1019
|
+
},
|
|
1020
|
+
"description": "Allows you to choose between modes for rendering columns in the grid:\n\n\"eager\" (default): All columns are rendered upfront, regardless of their visibility within the viewport.\nThis mode should generally be preferred, as it avoids the limitations imposed by the \"lazy\" mode.\nUse this mode unless the grid has a large number of columns and performance outweighs the limitations\nin priority.\n\n\"lazy\": Optimizes the rendering of cells when there are multiple columns in the grid by virtualizing\nhorizontal scrolling. In this mode, body cells are rendered only when their corresponding columns are\ninside the visible viewport.\n\nUsing \"lazy\" rendering should be used only if you're dealing with a large number of columns and performance\nis your highest priority. For most use cases, the default \"eager\" mode is recommended due to the\nlimitations imposed by the \"lazy\" mode.\n\nWhen using the \"lazy\" mode, keep the following limitations in mind:\n\n- Row Height: When only a number of columns are visible at once, the height of a row can only be that of\nthe highest cell currently visible on that row. Make sure each cell on a single row has the same height\nas all other cells on that row. If row cells have different heights, users may experience jumpiness when\nscrolling the grid horizontally as lazily rendered cells with different heights are scrolled into view.\n\n- Auto-width Columns: For the columns that are initially outside the visible viewport but still use auto-width,\nonly the header content is taken into account when calculating the column width because the body cells\nof the columns outside the viewport are not initially rendered.\n\n- Screen Reader Compatibility: Screen readers may not be able to associate the focused cells with the correct\nheaders when only a subset of the body cells on a row is rendered.\n\n- Keyboard Navigation: Tabbing through focusable elements inside the grid body may not work as expected because\nsome of the columns that would include focusable elements in the body cells may be outside the visible viewport\nand thus not rendered.",
|
|
1021
|
+
"attribute": "column-rendering",
|
|
1022
|
+
"inheritedFrom": {
|
|
1023
|
+
"name": "Grid",
|
|
1024
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"kind": "field",
|
|
1029
|
+
"name": "columnReorderingAllowed",
|
|
1030
|
+
"privacy": "public",
|
|
1031
|
+
"type": {
|
|
1032
|
+
"text": "boolean"
|
|
1033
|
+
},
|
|
1034
|
+
"description": "Set to true to allow column reordering.",
|
|
1035
|
+
"attribute": "column-reordering-allowed",
|
|
1036
|
+
"inheritedFrom": {
|
|
1037
|
+
"name": "Grid",
|
|
1038
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"kind": "field",
|
|
1043
|
+
"name": "dataProvider",
|
|
1044
|
+
"privacy": "public",
|
|
1045
|
+
"type": {
|
|
1046
|
+
"text": "GridDataProvider | null | undefined"
|
|
1047
|
+
},
|
|
1048
|
+
"description": "Function that provides items lazily. Receives arguments `params`, `callback`\n\n`params.page` Requested page index\n\n`params.pageSize` Current page size\n\n`params.filters` Currently applied filters\n\n`params.sortOrders` Currently applied sorting orders\n\n`params.parentItem` When tree is used, and sublevel items\nare requested, reference to parent item of the requested sublevel.\nOtherwise `undefined`.\n\n`callback(items, size)` Callback function with arguments:\n - `items` Current page of items\n - `size` Total number of items. When tree sublevel items\n are requested, total number of items in the requested sublevel.\n Optional when tree is not used, required for tree.",
|
|
1049
|
+
"attribute": "data-provider",
|
|
1050
|
+
"inheritedFrom": {
|
|
1051
|
+
"name": "Grid",
|
|
1052
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"kind": "method",
|
|
1057
|
+
"name": "deselectItem",
|
|
1058
|
+
"parameters": [
|
|
1059
|
+
{
|
|
1060
|
+
"name": "item",
|
|
1061
|
+
"description": "The item object",
|
|
1062
|
+
"type": {
|
|
1063
|
+
"text": "!GridItem"
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
],
|
|
1067
|
+
"description": "Deselects the given item if it is already selected.",
|
|
1068
|
+
"inheritedFrom": {
|
|
1069
|
+
"name": "Grid",
|
|
1070
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1071
|
+
}
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"kind": "field",
|
|
1075
|
+
"name": "detailsOpenedItems",
|
|
1076
|
+
"privacy": "public",
|
|
1077
|
+
"type": {
|
|
1078
|
+
"text": "!Array<!GridItem>"
|
|
1079
|
+
},
|
|
1080
|
+
"description": "An array containing references to items with open row details.",
|
|
1081
|
+
"attribute": "details-opened-items",
|
|
1082
|
+
"inheritedFrom": {
|
|
1083
|
+
"name": "Grid",
|
|
1084
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"kind": "field",
|
|
1089
|
+
"name": "dragFilter",
|
|
1090
|
+
"privacy": "public",
|
|
1091
|
+
"type": {
|
|
1092
|
+
"text": "GridDragAndDropFilter | null | undefined"
|
|
1093
|
+
},
|
|
1094
|
+
"description": "A function that filters dragging of specific grid rows. The return value should be false\nif dragging of the row should be disabled.\n\nReceives one argument:\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.",
|
|
1095
|
+
"attribute": "drag-filter",
|
|
1096
|
+
"inheritedFrom": {
|
|
1097
|
+
"name": "Grid",
|
|
1098
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"kind": "field",
|
|
1103
|
+
"name": "dropFilter",
|
|
1104
|
+
"privacy": "public",
|
|
1105
|
+
"type": {
|
|
1106
|
+
"text": "GridDragAndDropFilter | null | undefined"
|
|
1107
|
+
},
|
|
1108
|
+
"description": "A function that filters dropping on specific grid rows. The return value should be false\nif dropping on the row should be disabled.\n\nReceives one argument:\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.",
|
|
1109
|
+
"attribute": "drop-filter",
|
|
1110
|
+
"inheritedFrom": {
|
|
1111
|
+
"name": "Grid",
|
|
1112
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1113
|
+
}
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"kind": "field",
|
|
1117
|
+
"name": "dropMode",
|
|
1118
|
+
"privacy": "public",
|
|
1119
|
+
"type": {
|
|
1120
|
+
"text": "GridDropMode | null | undefined"
|
|
1121
|
+
},
|
|
1122
|
+
"description": "Defines the locations within the Grid row where an element can be dropped.\n\nPossible values are:\n- `between`: The drop event can happen between Grid rows.\n- `on-top`: The drop event can happen on top of Grid rows.\n- `on-top-or-between`: The drop event can happen either on top of or between Grid rows.\n- `on-grid`: The drop event will not happen on any specific row, it will show the drop target outline around the whole grid.",
|
|
1123
|
+
"attribute": "drop-mode",
|
|
1124
|
+
"inheritedFrom": {
|
|
1125
|
+
"name": "Grid",
|
|
1126
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"kind": "field",
|
|
1131
|
+
"name": "editOnClick",
|
|
1132
|
+
"privacy": "public",
|
|
1133
|
+
"type": {
|
|
1134
|
+
"text": "boolean"
|
|
1135
|
+
},
|
|
1136
|
+
"description": "When true, the grid enters cell edit mode on a single click\ninstead of the default double click.",
|
|
1137
|
+
"attribute": "edit-on-click",
|
|
1138
|
+
"inheritedFrom": {
|
|
1139
|
+
"name": "InlineEditingMixin",
|
|
1140
|
+
"module": "src/vaadin-grid-pro-inline-editing-mixin.js"
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"kind": "field",
|
|
1145
|
+
"name": "enterNextRow",
|
|
1146
|
+
"privacy": "public",
|
|
1147
|
+
"type": {
|
|
1148
|
+
"text": "boolean"
|
|
1149
|
+
},
|
|
1150
|
+
"description": "When true, pressing Enter while in cell edit mode\nwill move focus to the editable cell in the next row\n(Shift + Enter - same, but for previous row).",
|
|
1151
|
+
"attribute": "enter-next-row",
|
|
1152
|
+
"inheritedFrom": {
|
|
1153
|
+
"name": "InlineEditingMixin",
|
|
1154
|
+
"module": "src/vaadin-grid-pro-inline-editing-mixin.js"
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"kind": "field",
|
|
1159
|
+
"name": "expandedItems",
|
|
1160
|
+
"privacy": "public",
|
|
1161
|
+
"type": {
|
|
1162
|
+
"text": "!Array<!GridItem>"
|
|
1163
|
+
},
|
|
1164
|
+
"description": "An array that contains the expanded items.",
|
|
1165
|
+
"attribute": "expanded-items",
|
|
1166
|
+
"inheritedFrom": {
|
|
1167
|
+
"name": "Grid",
|
|
1168
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1169
|
+
}
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"kind": "method",
|
|
1173
|
+
"name": "expandItem",
|
|
1174
|
+
"parameters": [
|
|
1175
|
+
{
|
|
1176
|
+
"name": "item",
|
|
1177
|
+
"type": {
|
|
1178
|
+
"text": "!GridItem"
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
],
|
|
1182
|
+
"description": "Expands the given item tree.",
|
|
1183
|
+
"inheritedFrom": {
|
|
1184
|
+
"name": "Grid",
|
|
1185
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1186
|
+
}
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
"kind": "method",
|
|
1190
|
+
"name": "filterDragAndDrop",
|
|
1191
|
+
"description": "Runs the `dragFilter` and `dropFilter` hooks for the visible cells.\nIf the filter depends on varying conditions, you may need to\ncall this function manually in order to update the draggability when\nthe conditions change.",
|
|
1192
|
+
"inheritedFrom": {
|
|
1193
|
+
"name": "Grid",
|
|
1194
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1195
|
+
}
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"kind": "method",
|
|
1199
|
+
"name": "generateCellPartNames",
|
|
1200
|
+
"description": "Runs the `cellPartNameGenerator` for the visible cells.\nIf the generator depends on varying conditions, you need to\ncall this function manually in order to update the styles when\nthe conditions change.",
|
|
1201
|
+
"inheritedFrom": {
|
|
1202
|
+
"name": "Grid",
|
|
1203
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"kind": "method",
|
|
1208
|
+
"name": "getEventContext",
|
|
1209
|
+
"parameters": [
|
|
1210
|
+
{
|
|
1211
|
+
"name": "event",
|
|
1212
|
+
"type": {
|
|
1213
|
+
"text": "!Event"
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
],
|
|
1217
|
+
"description": "Returns an object with context information about the event target:\n- `item`: the data object corresponding to the targeted row (not specified when targeting header or footer)\n- `column`: the column element corresponding to the targeted cell (not specified when targeting row details)\n- `section`: whether the event targeted the body, header, footer or details of the grid\n\nThese additional properties are included when `item` is specified:\n- `index`: the index of the item\n- `selected`: the selected state of the item\n- `detailsOpened`: whether the row details are open for the item\n- `expanded`: the expanded state of the tree toggle\n- `level`: the tree hierarchy level\n- `hasChildren`: whether the item has children\n\nThe returned object is populated only when a grid cell, header, footer or row details is found in `event.composedPath()`.\nThis means mostly mouse and keyboard events. If such a grid part is not found in the path, an empty object is returned.\nThis may be the case eg. if the event is fired on the `<vaadin-grid>` element and not any deeper in the DOM, or if\nthe event targets the empty part of the grid body.",
|
|
1218
|
+
"return": {
|
|
1219
|
+
"type": {
|
|
1220
|
+
"text": "GridEventContext"
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"inheritedFrom": {
|
|
1224
|
+
"name": "Grid",
|
|
1225
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"kind": "method",
|
|
1230
|
+
"name": "getItemId",
|
|
1231
|
+
"parameters": [
|
|
1232
|
+
{
|
|
1233
|
+
"name": "item",
|
|
1234
|
+
"type": {
|
|
1235
|
+
"text": "!GridItem"
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
],
|
|
1239
|
+
"description": "Returns a value that identifies the item. Uses `itemIdPath` if available.\nCan be customized by overriding.",
|
|
1240
|
+
"return": {
|
|
1241
|
+
"type": {
|
|
1242
|
+
"text": "!GridItem | !unknown"
|
|
1243
|
+
}
|
|
1244
|
+
},
|
|
1245
|
+
"inheritedFrom": {
|
|
1246
|
+
"name": "Grid",
|
|
1247
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1248
|
+
}
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
"kind": "field",
|
|
1252
|
+
"name": "isItemSelectable",
|
|
1253
|
+
"privacy": "public",
|
|
1254
|
+
"type": {
|
|
1255
|
+
"text": "(item: !GridItem) => boolean"
|
|
1256
|
+
},
|
|
1257
|
+
"description": "A function to check whether a specific item in the grid may be\nselected or deselected by the user. Used by the selection column to\nconditionally enable to disable checkboxes for individual items. This\nfunction does not prevent programmatic selection/deselection of\nitems. Changing the function does not modify the currently selected\nitems.\n\nConfiguring this function hides the select all checkbox of the grid\nselection column, which means users can not select or deselect all\nitems anymore, nor do they get feedback on whether all items are\nselected or not.\n\nReceives an item instance and should return a boolean indicating\nwhether users may change the selection state of that item.",
|
|
1258
|
+
"attribute": "is-item-selectable",
|
|
1259
|
+
"inheritedFrom": {
|
|
1260
|
+
"name": "Grid",
|
|
1261
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"kind": "field",
|
|
1266
|
+
"name": "itemHasChildrenPath",
|
|
1267
|
+
"privacy": "public",
|
|
1268
|
+
"type": {
|
|
1269
|
+
"text": "string"
|
|
1270
|
+
},
|
|
1271
|
+
"description": "Path to an item sub-property that indicates whether the item has child items.",
|
|
1272
|
+
"attribute": "item-has-children-path",
|
|
1273
|
+
"inheritedFrom": {
|
|
1274
|
+
"name": "Grid",
|
|
1275
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1276
|
+
}
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"kind": "field",
|
|
1280
|
+
"name": "itemIdPath",
|
|
1281
|
+
"privacy": "public",
|
|
1282
|
+
"type": {
|
|
1283
|
+
"text": "string"
|
|
1284
|
+
},
|
|
1285
|
+
"description": "Path to an item sub-property that identifies the item.",
|
|
1286
|
+
"attribute": "item-id-path",
|
|
1287
|
+
"inheritedFrom": {
|
|
1288
|
+
"name": "Grid",
|
|
1289
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"kind": "field",
|
|
1294
|
+
"name": "items",
|
|
1295
|
+
"privacy": "public",
|
|
1296
|
+
"type": {
|
|
1297
|
+
"text": "Array<!GridItem> | undefined"
|
|
1298
|
+
},
|
|
1299
|
+
"description": "An array containing the items which will be passed to renderer functions.",
|
|
1300
|
+
"attribute": "items",
|
|
1301
|
+
"inheritedFrom": {
|
|
1302
|
+
"name": "Grid",
|
|
1303
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1304
|
+
}
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"kind": "field",
|
|
1308
|
+
"name": "loading",
|
|
1309
|
+
"privacy": "public",
|
|
1310
|
+
"type": {
|
|
1311
|
+
"text": "boolean"
|
|
1312
|
+
},
|
|
1313
|
+
"description": "`true` while data is being requested from the data provider.",
|
|
1314
|
+
"attribute": "loading",
|
|
1315
|
+
"inheritedFrom": {
|
|
1316
|
+
"name": "Grid",
|
|
1317
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"kind": "field",
|
|
1322
|
+
"name": "multiSort",
|
|
1323
|
+
"privacy": "public",
|
|
1324
|
+
"type": {
|
|
1325
|
+
"text": "boolean"
|
|
1326
|
+
},
|
|
1327
|
+
"description": "When `true`, all `<vaadin-grid-sorter>` are applied for sorting.",
|
|
1328
|
+
"attribute": "multi-sort",
|
|
1329
|
+
"inheritedFrom": {
|
|
1330
|
+
"name": "Grid",
|
|
1331
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"kind": "field",
|
|
1336
|
+
"name": "multiSortOnShiftClick",
|
|
1337
|
+
"privacy": "public",
|
|
1338
|
+
"type": {
|
|
1339
|
+
"text": "boolean"
|
|
1340
|
+
},
|
|
1341
|
+
"description": "When `true`, Shift-clicking an unsorted column's sorter adds it to the multi-sort.\nShift + Space does the same action via keyboard. This property has precedence over the\n`multiSort` property. If `multiSortOnShiftClick` is true, the multiSort property is effectively ignored.",
|
|
1342
|
+
"attribute": "multi-sort-on-shift-click",
|
|
1343
|
+
"inheritedFrom": {
|
|
1344
|
+
"name": "Grid",
|
|
1345
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"kind": "field",
|
|
1350
|
+
"name": "multiSortPriority",
|
|
1351
|
+
"privacy": "public",
|
|
1352
|
+
"type": {
|
|
1353
|
+
"text": "string"
|
|
1354
|
+
},
|
|
1355
|
+
"description": "Controls how columns are added to the sort order when using multi-sort.\nThe sort order is visually indicated by numbers in grid sorters placed in column headers.\n\nBy default, whenever an unsorted column is sorted, or the sort-direction of a column is\nchanged, that column gets sort priority 1, thus affecting the priority for all the other\nsorted columns. This is identical to using `multi-sort-priority=\"prepend\"`.\n\nUsing this property allows to change this behavior so that sorting an unsorted column\nwould add it to the \"end\" of the sort, and changing column's sort direction would retain\nit's previous priority. To set this, use `multi-sort-priority=\"append\"`.",
|
|
1356
|
+
"attribute": "multi-sort-priority",
|
|
1357
|
+
"inheritedFrom": {
|
|
1358
|
+
"name": "Grid",
|
|
1359
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"kind": "method",
|
|
1364
|
+
"name": "openItemDetails",
|
|
1365
|
+
"parameters": [
|
|
1366
|
+
{
|
|
1367
|
+
"name": "item",
|
|
1368
|
+
"type": {
|
|
1369
|
+
"text": "!GridItem"
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
],
|
|
1373
|
+
"description": "Open the details row of a given item.",
|
|
1374
|
+
"inheritedFrom": {
|
|
1375
|
+
"name": "Grid",
|
|
1376
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1377
|
+
}
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"kind": "field",
|
|
1381
|
+
"name": "pageSize",
|
|
1382
|
+
"privacy": "public",
|
|
1383
|
+
"type": {
|
|
1384
|
+
"text": "number"
|
|
1385
|
+
},
|
|
1386
|
+
"description": "Number of items fetched at a time from the dataprovider.",
|
|
1387
|
+
"attribute": "page-size",
|
|
1388
|
+
"inheritedFrom": {
|
|
1389
|
+
"name": "Grid",
|
|
1390
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1391
|
+
}
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"kind": "method",
|
|
1395
|
+
"name": "recalculateColumnWidths",
|
|
1396
|
+
"description": "Updates the `width` of all columns which have `autoWidth` set to `true`.",
|
|
1397
|
+
"inheritedFrom": {
|
|
1398
|
+
"name": "Grid",
|
|
1399
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"kind": "method",
|
|
1404
|
+
"name": "requestContentUpdate",
|
|
1405
|
+
"description": "Requests an update for the content of cells.\n\nWhile performing the update, the following renderers are invoked:\n- `Grid.rowDetailsRenderer`\n- `GridColumn.renderer`\n- `GridColumn.headerRenderer`\n- `GridColumn.footerRenderer`\n\nIt is not guaranteed that the update happens immediately (synchronously) after it is requested.",
|
|
1406
|
+
"inheritedFrom": {
|
|
1407
|
+
"name": "Grid",
|
|
1408
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"kind": "field",
|
|
1413
|
+
"name": "rowDetailsRenderer",
|
|
1414
|
+
"privacy": "public",
|
|
1415
|
+
"type": {
|
|
1416
|
+
"text": "GridRowDetailsRenderer | null | undefined"
|
|
1417
|
+
},
|
|
1418
|
+
"description": "Custom function for rendering the content of the row details.\nReceives three arguments:\n\n- `root` The row details content DOM element. Append your content to it.\n- `grid` The `<vaadin-grid>` element.\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.level` The number of the item's tree sublevel, starts from 0.\n - `model.expanded` True if the item's tree sublevel is expanded.\n - `model.selected` True if the item is selected.",
|
|
1419
|
+
"attribute": "row-details-renderer",
|
|
1420
|
+
"inheritedFrom": {
|
|
1421
|
+
"name": "Grid",
|
|
1422
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1423
|
+
}
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"kind": "field",
|
|
1427
|
+
"name": "rowsDraggable",
|
|
1428
|
+
"privacy": "public",
|
|
1429
|
+
"type": {
|
|
1430
|
+
"text": "boolean"
|
|
1431
|
+
},
|
|
1432
|
+
"description": "Marks the grid's rows to be available for dragging.",
|
|
1433
|
+
"attribute": "rows-draggable",
|
|
1434
|
+
"inheritedFrom": {
|
|
1435
|
+
"name": "Grid",
|
|
1436
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"kind": "method",
|
|
1441
|
+
"name": "scrollToColumn",
|
|
1442
|
+
"parameters": [
|
|
1443
|
+
{
|
|
1444
|
+
"name": "indexOrColumn",
|
|
1445
|
+
"description": "Column element or column index",
|
|
1446
|
+
"type": {
|
|
1447
|
+
"text": "GridColumn | number"
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
],
|
|
1451
|
+
"description": "Scrolls horizontally so that the column becomes visible in the viewport.\n\nThe column can be specified either by its index (among visible columns\nin visual order) or by the column element itself.",
|
|
1452
|
+
"inheritedFrom": {
|
|
1453
|
+
"name": "Grid",
|
|
1454
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1455
|
+
}
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"kind": "method",
|
|
1459
|
+
"name": "scrollToIndex",
|
|
1460
|
+
"parameters": [
|
|
1461
|
+
{
|
|
1462
|
+
"name": "indexes",
|
|
1463
|
+
"description": "Row indexes to scroll to",
|
|
1464
|
+
"type": {
|
|
1465
|
+
"text": "...number"
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
],
|
|
1469
|
+
"description": "Scroll to a specific row index in the virtual list. Note that the row index is\nnot always the same for any particular item. For example, sorting or filtering\nitems can affect the row index related to an item.\n\nThe `indexes` parameter can be either a single number or multiple numbers.\nThe grid will first try to scroll to the item at the first index on the top level.\nIn case the item at the first index is expanded, the grid will then try scroll to the\nitem at the second index within the children of the expanded first item, and so on.\nEach given index points to a child of the item at the previous index.\n\nUsing `Infinity` as an index will point to the last item on the level.",
|
|
1470
|
+
"inheritedFrom": {
|
|
1471
|
+
"name": "Grid",
|
|
1472
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"kind": "field",
|
|
1477
|
+
"name": "selectedItems",
|
|
1478
|
+
"privacy": "public",
|
|
1479
|
+
"type": {
|
|
1480
|
+
"text": "!Array<!GridItem>"
|
|
1481
|
+
},
|
|
1482
|
+
"description": "An array that contains the selected items.",
|
|
1483
|
+
"attribute": "selected-items",
|
|
1484
|
+
"inheritedFrom": {
|
|
1485
|
+
"name": "Grid",
|
|
1486
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"kind": "method",
|
|
1491
|
+
"name": "selectItem",
|
|
1492
|
+
"parameters": [
|
|
1493
|
+
{
|
|
1494
|
+
"name": "item",
|
|
1495
|
+
"description": "The item object",
|
|
1496
|
+
"type": {
|
|
1497
|
+
"text": "!GridItem"
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
],
|
|
1501
|
+
"description": "Selects the given item.",
|
|
1502
|
+
"inheritedFrom": {
|
|
1503
|
+
"name": "Grid",
|
|
1504
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"kind": "method",
|
|
1509
|
+
"name": "setDefaultMultiSortPriority",
|
|
1510
|
+
"static": true,
|
|
1511
|
+
"parameters": [
|
|
1512
|
+
{
|
|
1513
|
+
"name": "priority",
|
|
1514
|
+
"type": {
|
|
1515
|
+
"text": "string"
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
],
|
|
1519
|
+
"description": "Sets the default multi-sort priority to use for all grid instances.\nThis method should be called before creating any grid instances.\nChanging this setting does not affect the default for existing grids.",
|
|
1520
|
+
"inheritedFrom": {
|
|
1521
|
+
"name": "Grid",
|
|
1522
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1523
|
+
}
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
"kind": "field",
|
|
1527
|
+
"name": "singleCellEdit",
|
|
1528
|
+
"privacy": "public",
|
|
1529
|
+
"type": {
|
|
1530
|
+
"text": "boolean"
|
|
1531
|
+
},
|
|
1532
|
+
"description": "When true, after moving to next or previous editable cell using\nTab / Shift+Tab, it will be focused without edit mode.\n\nWhen `enterNextRow` is true, pressing Enter will also\npreserve edit mode, otherwise, it will have no effect.",
|
|
1533
|
+
"attribute": "single-cell-edit",
|
|
1534
|
+
"inheritedFrom": {
|
|
1535
|
+
"name": "InlineEditingMixin",
|
|
1536
|
+
"module": "src/vaadin-grid-pro-inline-editing-mixin.js"
|
|
1537
|
+
}
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"kind": "field",
|
|
1541
|
+
"name": "size",
|
|
1542
|
+
"privacy": "public",
|
|
1543
|
+
"type": {
|
|
1544
|
+
"text": "number"
|
|
1545
|
+
},
|
|
1546
|
+
"description": "The number of root-level items in the grid.",
|
|
1547
|
+
"attribute": "size",
|
|
1548
|
+
"inheritedFrom": {
|
|
1549
|
+
"name": "Grid",
|
|
1550
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1551
|
+
}
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
"kind": "field",
|
|
1555
|
+
"name": "slotStyles",
|
|
1556
|
+
"readonly": true
|
|
1557
|
+
}
|
|
1558
|
+
],
|
|
1559
|
+
"events": [
|
|
1560
|
+
{
|
|
1561
|
+
"type": {
|
|
1562
|
+
"text": "CustomEvent"
|
|
1563
|
+
},
|
|
1564
|
+
"description": "Fired when the `activeItem` property changes.",
|
|
1565
|
+
"name": "active-item-changed",
|
|
1566
|
+
"inheritedFrom": {
|
|
1567
|
+
"name": "Grid",
|
|
1568
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"name": "cell-activate",
|
|
1573
|
+
"type": {
|
|
1574
|
+
"text": "CustomEvent"
|
|
1575
|
+
},
|
|
1576
|
+
"description": "Fired when the cell is activated with click or keyboard.",
|
|
1577
|
+
"inheritedFrom": {
|
|
1578
|
+
"name": "Grid",
|
|
1579
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1580
|
+
}
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
"name": "cell-edit-started",
|
|
1584
|
+
"type": {
|
|
1585
|
+
"text": "CustomEvent"
|
|
1586
|
+
},
|
|
1587
|
+
"description": "Fired when the user starts editing a grid cell.",
|
|
1588
|
+
"inheritedFrom": {
|
|
1589
|
+
"name": "InlineEditingMixin",
|
|
1590
|
+
"module": "src/vaadin-grid-pro-inline-editing-mixin.js"
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"type": {
|
|
1595
|
+
"text": "CustomEvent"
|
|
1596
|
+
},
|
|
1597
|
+
"description": "Fired when a cell is focused with click or keyboard navigation.",
|
|
1598
|
+
"name": "cell-focus",
|
|
1599
|
+
"inheritedFrom": {
|
|
1600
|
+
"name": "Grid",
|
|
1601
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1602
|
+
}
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"name": "column-reorder",
|
|
1606
|
+
"type": {
|
|
1607
|
+
"text": "CustomEvent"
|
|
1608
|
+
},
|
|
1609
|
+
"description": "Fired when the columns in the grid are reordered.",
|
|
1610
|
+
"inheritedFrom": {
|
|
1611
|
+
"name": "Grid",
|
|
1612
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1613
|
+
}
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"name": "column-resize",
|
|
1617
|
+
"type": {
|
|
1618
|
+
"text": "CustomEvent"
|
|
1619
|
+
},
|
|
1620
|
+
"description": "Fired when the grid column resize is finished.",
|
|
1621
|
+
"inheritedFrom": {
|
|
1622
|
+
"name": "Grid",
|
|
1623
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1624
|
+
}
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
"type": {
|
|
1628
|
+
"text": "CustomEvent"
|
|
1629
|
+
},
|
|
1630
|
+
"description": "Fired when the `dataProvider` property changes.",
|
|
1631
|
+
"name": "data-provider-changed",
|
|
1632
|
+
"inheritedFrom": {
|
|
1633
|
+
"name": "Grid",
|
|
1634
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"type": {
|
|
1639
|
+
"text": "CustomEvent"
|
|
1640
|
+
},
|
|
1641
|
+
"description": "Fired when the `expandedItems` property changes.",
|
|
1642
|
+
"name": "expanded-items-changed",
|
|
1643
|
+
"inheritedFrom": {
|
|
1644
|
+
"name": "Grid",
|
|
1645
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"type": {
|
|
1650
|
+
"text": "CustomEvent"
|
|
1651
|
+
},
|
|
1652
|
+
"description": "Fired when the dragging of the rows ends.",
|
|
1653
|
+
"name": "grid-dragend",
|
|
1654
|
+
"inheritedFrom": {
|
|
1655
|
+
"name": "Grid",
|
|
1656
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"type": {
|
|
1661
|
+
"text": "CustomEvent"
|
|
1662
|
+
},
|
|
1663
|
+
"description": "Fired when starting to drag grid rows.",
|
|
1664
|
+
"name": "grid-dragstart",
|
|
1665
|
+
"inheritedFrom": {
|
|
1666
|
+
"name": "Grid",
|
|
1667
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1668
|
+
}
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
"type": {
|
|
1672
|
+
"text": "CustomEvent"
|
|
1673
|
+
},
|
|
1674
|
+
"description": "Fired when a drop occurs on top of the grid.",
|
|
1675
|
+
"name": "grid-drop",
|
|
1676
|
+
"inheritedFrom": {
|
|
1677
|
+
"name": "Grid",
|
|
1678
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
"name": "item-property-changed",
|
|
1683
|
+
"type": {
|
|
1684
|
+
"text": "CustomEvent"
|
|
1685
|
+
},
|
|
1686
|
+
"description": "Fired before exiting the cell edit mode, if the value has been changed.",
|
|
1687
|
+
"inheritedFrom": {
|
|
1688
|
+
"name": "InlineEditingMixin",
|
|
1689
|
+
"module": "src/vaadin-grid-pro-inline-editing-mixin.js"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"type": {
|
|
1694
|
+
"text": "CustomEvent"
|
|
1695
|
+
},
|
|
1696
|
+
"description": "Fired when the user selects or deselects an item through the selection column.",
|
|
1697
|
+
"name": "item-toggle",
|
|
1698
|
+
"inheritedFrom": {
|
|
1699
|
+
"name": "Grid",
|
|
1700
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1701
|
+
}
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
"type": {
|
|
1705
|
+
"text": "CustomEvent"
|
|
1706
|
+
},
|
|
1707
|
+
"description": "Fired when the `loading` property changes.",
|
|
1708
|
+
"name": "loading-changed",
|
|
1709
|
+
"inheritedFrom": {
|
|
1710
|
+
"name": "Grid",
|
|
1711
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1712
|
+
}
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
"type": {
|
|
1716
|
+
"text": "CustomEvent"
|
|
1717
|
+
},
|
|
1718
|
+
"description": "Fired when the `selectedItems` property changes.",
|
|
1719
|
+
"name": "selected-items-changed",
|
|
1720
|
+
"inheritedFrom": {
|
|
1721
|
+
"name": "Grid",
|
|
1722
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1723
|
+
}
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
"type": {
|
|
1727
|
+
"text": "CustomEvent"
|
|
1728
|
+
},
|
|
1729
|
+
"description": "Fired when the `size` property changes.",
|
|
1730
|
+
"name": "size-changed",
|
|
1731
|
+
"inheritedFrom": {
|
|
1732
|
+
"name": "Grid",
|
|
1733
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
],
|
|
1737
|
+
"mixins": [
|
|
1738
|
+
{
|
|
1739
|
+
"name": "SlotStylesMixin",
|
|
1740
|
+
"package": "@vaadin/component-base/src/slot-styles-mixin.js"
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"name": "InlineEditingMixin",
|
|
1744
|
+
"module": "src/vaadin-grid-pro-inline-editing-mixin.js"
|
|
1745
|
+
}
|
|
1746
|
+
],
|
|
1747
|
+
"superclass": {
|
|
1748
|
+
"name": "Grid",
|
|
1749
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1750
|
+
},
|
|
1751
|
+
"tagName": "vaadin-grid-pro",
|
|
1752
|
+
"customElement": true,
|
|
1753
|
+
"attributes": [
|
|
1754
|
+
{
|
|
1755
|
+
"name": "accessible-name",
|
|
1756
|
+
"type": {
|
|
1757
|
+
"text": "string"
|
|
1758
|
+
},
|
|
1759
|
+
"description": "String used to label the grid to screen reader users.",
|
|
1760
|
+
"fieldName": "accessibleName",
|
|
1761
|
+
"inheritedFrom": {
|
|
1762
|
+
"name": "Grid",
|
|
1763
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1764
|
+
}
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"name": "active-item",
|
|
1768
|
+
"type": {
|
|
1769
|
+
"text": "GridItem"
|
|
1770
|
+
},
|
|
1771
|
+
"description": "The item user has last interacted with. Turns to `null` after user deactivates\nthe item by re-interacting with the currently active item.",
|
|
1772
|
+
"fieldName": "activeItem",
|
|
1773
|
+
"inheritedFrom": {
|
|
1774
|
+
"name": "Grid",
|
|
1775
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1776
|
+
}
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"name": "all-rows-visible",
|
|
1780
|
+
"type": {
|
|
1781
|
+
"text": "boolean"
|
|
1782
|
+
},
|
|
1783
|
+
"description": "If true, the grid's height is defined by its rows.\n\nEffectively, this disables the grid's virtual scrolling so that all the rows are rendered in the DOM at once.\nIf the grid has a large number of items, using the feature is discouraged to avoid performance issues.",
|
|
1784
|
+
"fieldName": "allRowsVisible",
|
|
1785
|
+
"inheritedFrom": {
|
|
1786
|
+
"name": "Grid",
|
|
1787
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1788
|
+
}
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"name": "cell-part-name-generator",
|
|
1792
|
+
"type": {
|
|
1793
|
+
"text": "GridCellPartNameGenerator | null | undefined"
|
|
1794
|
+
},
|
|
1795
|
+
"description": "A function that allows generating CSS `part` names for grid cells in Shadow DOM based\non their row and column, for styling from outside using the `::part()` selector.\n\nThe return value should be the generated part name as a string, or multiple part names\nseparated by whitespace characters.\n\nReceives two arguments:\n- `column` The `<vaadin-grid-column>` element (`undefined` for details-cell).\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.",
|
|
1796
|
+
"fieldName": "cellPartNameGenerator",
|
|
1797
|
+
"inheritedFrom": {
|
|
1798
|
+
"name": "Grid",
|
|
1799
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1800
|
+
}
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"name": "column-rendering",
|
|
1804
|
+
"type": {
|
|
1805
|
+
"text": "!ColumnRendering"
|
|
1806
|
+
},
|
|
1807
|
+
"description": "Allows you to choose between modes for rendering columns in the grid:\n\n\"eager\" (default): All columns are rendered upfront, regardless of their visibility within the viewport.\nThis mode should generally be preferred, as it avoids the limitations imposed by the \"lazy\" mode.\nUse this mode unless the grid has a large number of columns and performance outweighs the limitations\nin priority.\n\n\"lazy\": Optimizes the rendering of cells when there are multiple columns in the grid by virtualizing\nhorizontal scrolling. In this mode, body cells are rendered only when their corresponding columns are\ninside the visible viewport.\n\nUsing \"lazy\" rendering should be used only if you're dealing with a large number of columns and performance\nis your highest priority. For most use cases, the default \"eager\" mode is recommended due to the\nlimitations imposed by the \"lazy\" mode.\n\nWhen using the \"lazy\" mode, keep the following limitations in mind:\n\n- Row Height: When only a number of columns are visible at once, the height of a row can only be that of\nthe highest cell currently visible on that row. Make sure each cell on a single row has the same height\nas all other cells on that row. If row cells have different heights, users may experience jumpiness when\nscrolling the grid horizontally as lazily rendered cells with different heights are scrolled into view.\n\n- Auto-width Columns: For the columns that are initially outside the visible viewport but still use auto-width,\nonly the header content is taken into account when calculating the column width because the body cells\nof the columns outside the viewport are not initially rendered.\n\n- Screen Reader Compatibility: Screen readers may not be able to associate the focused cells with the correct\nheaders when only a subset of the body cells on a row is rendered.\n\n- Keyboard Navigation: Tabbing through focusable elements inside the grid body may not work as expected because\nsome of the columns that would include focusable elements in the body cells may be outside the visible viewport\nand thus not rendered.",
|
|
1808
|
+
"fieldName": "columnRendering",
|
|
1809
|
+
"inheritedFrom": {
|
|
1810
|
+
"name": "Grid",
|
|
1811
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1812
|
+
}
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "column-reordering-allowed",
|
|
1816
|
+
"type": {
|
|
1817
|
+
"text": "boolean"
|
|
1818
|
+
},
|
|
1819
|
+
"description": "Set to true to allow column reordering.",
|
|
1820
|
+
"fieldName": "columnReorderingAllowed",
|
|
1821
|
+
"inheritedFrom": {
|
|
1822
|
+
"name": "Grid",
|
|
1823
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
"name": "data-provider",
|
|
1828
|
+
"type": {
|
|
1829
|
+
"text": "GridDataProvider | null | undefined"
|
|
1830
|
+
},
|
|
1831
|
+
"description": "Function that provides items lazily. Receives arguments `params`, `callback`\n\n`params.page` Requested page index\n\n`params.pageSize` Current page size\n\n`params.filters` Currently applied filters\n\n`params.sortOrders` Currently applied sorting orders\n\n`params.parentItem` When tree is used, and sublevel items\nare requested, reference to parent item of the requested sublevel.\nOtherwise `undefined`.\n\n`callback(items, size)` Callback function with arguments:\n - `items` Current page of items\n - `size` Total number of items. When tree sublevel items\n are requested, total number of items in the requested sublevel.\n Optional when tree is not used, required for tree.",
|
|
1832
|
+
"fieldName": "dataProvider",
|
|
1833
|
+
"inheritedFrom": {
|
|
1834
|
+
"name": "Grid",
|
|
1835
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"name": "drag-filter",
|
|
1840
|
+
"type": {
|
|
1841
|
+
"text": "GridDragAndDropFilter | null | undefined"
|
|
1842
|
+
},
|
|
1843
|
+
"description": "A function that filters dragging of specific grid rows. The return value should be false\nif dragging of the row should be disabled.\n\nReceives one argument:\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.",
|
|
1844
|
+
"fieldName": "dragFilter",
|
|
1845
|
+
"inheritedFrom": {
|
|
1846
|
+
"name": "Grid",
|
|
1847
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"name": "drop-filter",
|
|
1852
|
+
"type": {
|
|
1853
|
+
"text": "GridDragAndDropFilter | null | undefined"
|
|
1854
|
+
},
|
|
1855
|
+
"description": "A function that filters dropping on specific grid rows. The return value should be false\nif dropping on the row should be disabled.\n\nReceives one argument:\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.",
|
|
1856
|
+
"fieldName": "dropFilter",
|
|
1857
|
+
"inheritedFrom": {
|
|
1858
|
+
"name": "Grid",
|
|
1859
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"name": "drop-mode",
|
|
1864
|
+
"type": {
|
|
1865
|
+
"text": "GridDropMode | null | undefined"
|
|
1866
|
+
},
|
|
1867
|
+
"description": "Defines the locations within the Grid row where an element can be dropped.\n\nPossible values are:\n- `between`: The drop event can happen between Grid rows.\n- `on-top`: The drop event can happen on top of Grid rows.\n- `on-top-or-between`: The drop event can happen either on top of or between Grid rows.\n- `on-grid`: The drop event will not happen on any specific row, it will show the drop target outline around the whole grid.",
|
|
1868
|
+
"fieldName": "dropMode",
|
|
1869
|
+
"inheritedFrom": {
|
|
1870
|
+
"name": "Grid",
|
|
1871
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"name": "edit-on-click",
|
|
1876
|
+
"type": {
|
|
1877
|
+
"text": "boolean"
|
|
1878
|
+
},
|
|
1879
|
+
"description": "When true, the grid enters cell edit mode on a single click\ninstead of the default double click.",
|
|
1880
|
+
"fieldName": "editOnClick",
|
|
1881
|
+
"inheritedFrom": {
|
|
1882
|
+
"name": "InlineEditingMixin",
|
|
1883
|
+
"module": "src/vaadin-grid-pro-inline-editing-mixin.js"
|
|
1884
|
+
}
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"name": "enter-next-row",
|
|
1888
|
+
"type": {
|
|
1889
|
+
"text": "boolean"
|
|
1890
|
+
},
|
|
1891
|
+
"description": "When true, pressing Enter while in cell edit mode\nwill move focus to the editable cell in the next row\n(Shift + Enter - same, but for previous row).",
|
|
1892
|
+
"fieldName": "enterNextRow",
|
|
1893
|
+
"inheritedFrom": {
|
|
1894
|
+
"name": "InlineEditingMixin",
|
|
1895
|
+
"module": "src/vaadin-grid-pro-inline-editing-mixin.js"
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"name": "interacting",
|
|
1900
|
+
"type": {
|
|
1901
|
+
"text": "boolean"
|
|
1902
|
+
},
|
|
1903
|
+
"description": "Indicates whether the grid is currently in interaction mode.\nIn interaction mode the user is currently interacting with a control,\nsuch as an input or a select, within a cell.\nIn interaction mode keyboard navigation between cells is disabled.\nInteraction mode also prevents the focus target cell of that section of\nthe grid from receiving focus, allowing the user to switch focus to\ncontrols in adjacent cells, rather than focussing the outer cell\nitself.",
|
|
1904
|
+
"fieldName": "interacting",
|
|
1905
|
+
"inheritedFrom": {
|
|
1906
|
+
"name": "Grid",
|
|
1907
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1908
|
+
}
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
"name": "is-attached",
|
|
1912
|
+
"fieldName": "isAttached",
|
|
1913
|
+
"inheritedFrom": {
|
|
1914
|
+
"name": "Grid",
|
|
1915
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1916
|
+
}
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"name": "is-item-selectable",
|
|
1920
|
+
"type": {
|
|
1921
|
+
"text": "(item: !GridItem) => boolean"
|
|
1922
|
+
},
|
|
1923
|
+
"description": "A function to check whether a specific item in the grid may be\nselected or deselected by the user. Used by the selection column to\nconditionally enable to disable checkboxes for individual items. This\nfunction does not prevent programmatic selection/deselection of\nitems. Changing the function does not modify the currently selected\nitems.\n\nConfiguring this function hides the select all checkbox of the grid\nselection column, which means users can not select or deselect all\nitems anymore, nor do they get feedback on whether all items are\nselected or not.\n\nReceives an item instance and should return a boolean indicating\nwhether users may change the selection state of that item.",
|
|
1924
|
+
"fieldName": "isItemSelectable",
|
|
1925
|
+
"inheritedFrom": {
|
|
1926
|
+
"name": "Grid",
|
|
1927
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1928
|
+
}
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "item-has-children-path",
|
|
1932
|
+
"type": {
|
|
1933
|
+
"text": "string"
|
|
1934
|
+
},
|
|
1935
|
+
"description": "Path to an item sub-property that indicates whether the item has child items.",
|
|
1936
|
+
"fieldName": "itemHasChildrenPath",
|
|
1937
|
+
"inheritedFrom": {
|
|
1938
|
+
"name": "Grid",
|
|
1939
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1940
|
+
}
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"name": "item-id-path",
|
|
1944
|
+
"type": {
|
|
1945
|
+
"text": "string"
|
|
1946
|
+
},
|
|
1947
|
+
"description": "Path to an item sub-property that identifies the item.",
|
|
1948
|
+
"fieldName": "itemIdPath",
|
|
1949
|
+
"inheritedFrom": {
|
|
1950
|
+
"name": "Grid",
|
|
1951
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"name": "loading",
|
|
1956
|
+
"type": {
|
|
1957
|
+
"text": "boolean"
|
|
1958
|
+
},
|
|
1959
|
+
"description": "`true` while data is being requested from the data provider.",
|
|
1960
|
+
"fieldName": "loading",
|
|
1961
|
+
"inheritedFrom": {
|
|
1962
|
+
"name": "Grid",
|
|
1963
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "multi-sort",
|
|
1968
|
+
"type": {
|
|
1969
|
+
"text": "boolean"
|
|
1970
|
+
},
|
|
1971
|
+
"description": "When `true`, all `<vaadin-grid-sorter>` are applied for sorting.",
|
|
1972
|
+
"fieldName": "multiSort",
|
|
1973
|
+
"inheritedFrom": {
|
|
1974
|
+
"name": "Grid",
|
|
1975
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1976
|
+
}
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
"name": "multi-sort-on-shift-click",
|
|
1980
|
+
"type": {
|
|
1981
|
+
"text": "boolean"
|
|
1982
|
+
},
|
|
1983
|
+
"description": "When `true`, Shift-clicking an unsorted column's sorter adds it to the multi-sort.\nShift + Space does the same action via keyboard. This property has precedence over the\n`multiSort` property. If `multiSortOnShiftClick` is true, the multiSort property is effectively ignored.",
|
|
1984
|
+
"fieldName": "multiSortOnShiftClick",
|
|
1985
|
+
"inheritedFrom": {
|
|
1986
|
+
"name": "Grid",
|
|
1987
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1988
|
+
}
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"name": "multi-sort-priority",
|
|
1992
|
+
"type": {
|
|
1993
|
+
"text": "string"
|
|
1994
|
+
},
|
|
1995
|
+
"description": "Controls how columns are added to the sort order when using multi-sort.\nThe sort order is visually indicated by numbers in grid sorters placed in column headers.\n\nBy default, whenever an unsorted column is sorted, or the sort-direction of a column is\nchanged, that column gets sort priority 1, thus affecting the priority for all the other\nsorted columns. This is identical to using `multi-sort-priority=\"prepend\"`.\n\nUsing this property allows to change this behavior so that sorting an unsorted column\nwould add it to the \"end\" of the sort, and changing column's sort direction would retain\nit's previous priority. To set this, use `multi-sort-priority=\"append\"`.",
|
|
1996
|
+
"fieldName": "multiSortPriority",
|
|
1997
|
+
"inheritedFrom": {
|
|
1998
|
+
"name": "Grid",
|
|
1999
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
2000
|
+
}
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
"name": "page-size",
|
|
2004
|
+
"type": {
|
|
2005
|
+
"text": "number"
|
|
2006
|
+
},
|
|
2007
|
+
"description": "Number of items fetched at a time from the dataprovider.",
|
|
2008
|
+
"fieldName": "pageSize",
|
|
2009
|
+
"inheritedFrom": {
|
|
2010
|
+
"name": "Grid",
|
|
2011
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
2012
|
+
}
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"name": "row-details-renderer",
|
|
2016
|
+
"type": {
|
|
2017
|
+
"text": "GridRowDetailsRenderer | null | undefined"
|
|
2018
|
+
},
|
|
2019
|
+
"description": "Custom function for rendering the content of the row details.\nReceives three arguments:\n\n- `root` The row details content DOM element. Append your content to it.\n- `grid` The `<vaadin-grid>` element.\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.level` The number of the item's tree sublevel, starts from 0.\n - `model.expanded` True if the item's tree sublevel is expanded.\n - `model.selected` True if the item is selected.",
|
|
2020
|
+
"fieldName": "rowDetailsRenderer",
|
|
2021
|
+
"inheritedFrom": {
|
|
2022
|
+
"name": "Grid",
|
|
2023
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
2024
|
+
}
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
"name": "rows-draggable",
|
|
2028
|
+
"type": {
|
|
2029
|
+
"text": "boolean"
|
|
2030
|
+
},
|
|
2031
|
+
"description": "Marks the grid's rows to be available for dragging.",
|
|
2032
|
+
"fieldName": "rowsDraggable",
|
|
2033
|
+
"inheritedFrom": {
|
|
2034
|
+
"name": "Grid",
|
|
2035
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
2036
|
+
}
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"name": "single-cell-edit",
|
|
2040
|
+
"type": {
|
|
2041
|
+
"text": "boolean"
|
|
2042
|
+
},
|
|
2043
|
+
"description": "When true, after moving to next or previous editable cell using\nTab / Shift+Tab, it will be focused without edit mode.\n\nWhen `enterNextRow` is true, pressing Enter will also\npreserve edit mode, otherwise, it will have no effect.",
|
|
2044
|
+
"fieldName": "singleCellEdit",
|
|
2045
|
+
"inheritedFrom": {
|
|
2046
|
+
"name": "InlineEditingMixin",
|
|
2047
|
+
"module": "src/vaadin-grid-pro-inline-editing-mixin.js"
|
|
2048
|
+
}
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
"name": "size",
|
|
2052
|
+
"type": {
|
|
2053
|
+
"text": "number"
|
|
2054
|
+
},
|
|
2055
|
+
"description": "The number of root-level items in the grid.",
|
|
2056
|
+
"fieldName": "size",
|
|
2057
|
+
"inheritedFrom": {
|
|
2058
|
+
"name": "Grid",
|
|
2059
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
"name": "tabindex",
|
|
2064
|
+
"type": {
|
|
2065
|
+
"text": "number"
|
|
2066
|
+
},
|
|
2067
|
+
"description": "Indicates whether the element can be focused and where it participates in sequential keyboard navigation.",
|
|
2068
|
+
"fieldName": "tabindex",
|
|
2069
|
+
"inheritedFrom": {
|
|
2070
|
+
"name": "Grid",
|
|
2071
|
+
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2074
|
+
]
|
|
2075
|
+
}
|
|
2076
|
+
],
|
|
2077
|
+
"exports": [
|
|
2078
|
+
{
|
|
2079
|
+
"kind": "js",
|
|
2080
|
+
"name": "GridPro",
|
|
2081
|
+
"declaration": {
|
|
2082
|
+
"name": "GridPro",
|
|
2083
|
+
"module": "src/vaadin-grid-pro.js"
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2086
|
+
]
|
|
2087
|
+
}
|
|
2088
|
+
]
|
|
2089
|
+
}
|