dash-datagrid 4.23.24__py3-none-any.whl
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.
- dash_datagrid/RevoGrid.py +500 -0
- dash_datagrid/RevoGrid.react.js +389 -0
- dash_datagrid/__init__.py +26 -0
- dash_datagrid/_imports_.py +5 -0
- dash_datagrid/dash-datagrid.js +6699 -0
- dash_datagrid/dash-datagrid.js.map +1 -0
- dash_datagrid/dash_datagrid.min.js +10 -0
- dash_datagrid/dash_datagrid.min.js.map +1 -0
- dash_datagrid/metadata.json +1 -0
- dash_datagrid/package-info.json +82 -0
- dash_datagrid-4.23.24.dist-info/METADATA +893 -0
- dash_datagrid-4.23.24.dist-info/RECORD +15 -0
- dash_datagrid-4.23.24.dist-info/WHEEL +5 -0
- dash_datagrid-4.23.24.dist-info/licenses/LICENSE +21 -0
- dash_datagrid-4.23.24.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
import typing # noqa: F401
|
|
4
|
+
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
|
|
5
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
6
|
+
try:
|
|
7
|
+
from dash.types import NumberType # noqa: F401
|
|
8
|
+
except ImportError:
|
|
9
|
+
# Backwards compatibility for dash<=4.1.0
|
|
10
|
+
if typing.TYPE_CHECKING:
|
|
11
|
+
raise
|
|
12
|
+
NumberType = typing.Union[ # noqa: F401
|
|
13
|
+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
ComponentSingleType = typing.Union[str, int, float, Component, None]
|
|
17
|
+
ComponentType = typing.Union[
|
|
18
|
+
ComponentSingleType,
|
|
19
|
+
typing.Sequence[ComponentSingleType],
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class RevoGrid(Component):
|
|
24
|
+
"""A RevoGrid component.
|
|
25
|
+
Revogrid - High-performance, customizable grid library for managing large datasets. ### Events guide For a comprehensive events guide, check the [Events API Page](/guide/api/events). All events propagate to the root level of the grid. [Dependency tree](#Dependencies). ### Type definitions Read [type definition file](https://github.com/revolist/revogrid/blob/master/src/interfaces.d.ts) for the full interface information. All complex property types such as `ColumnRegular`, `ColumnProp`, `ColumnDataSchemaModel` can be found there. ### HTMLRevoGridElement
|
|
26
|
+
|
|
27
|
+
Keyword arguments:
|
|
28
|
+
|
|
29
|
+
- id (string; optional):
|
|
30
|
+
Dash component identifier.
|
|
31
|
+
|
|
32
|
+
- accessible (boolean; optional):
|
|
33
|
+
Enable accessibility. If disabled, the grid will not be
|
|
34
|
+
accessible.
|
|
35
|
+
|
|
36
|
+
- additionalData (boolean | number | string | dict | list; optional):
|
|
37
|
+
Additional data to be passed to plugins, renders or editors. For
|
|
38
|
+
example if you need to pass Vue component instance.
|
|
39
|
+
|
|
40
|
+
- additionaldatachanged (dict; optional):
|
|
41
|
+
Emmited after the additional data is changed Contains a JSON-safe
|
|
42
|
+
event envelope.
|
|
43
|
+
|
|
44
|
+
- afteranysource (dict; optional):
|
|
45
|
+
Emitted after each source update, whether from the pinned or main
|
|
46
|
+
viewport. Useful for tracking all changes originating from sources
|
|
47
|
+
in both the pinned and main viewports. Contains a JSON-safe event
|
|
48
|
+
envelope.
|
|
49
|
+
|
|
50
|
+
- aftercolumnresize (dict; optional):
|
|
51
|
+
Emitted after column resizing. Useful for retrieving the resized
|
|
52
|
+
columns. Contains a JSON-safe event envelope.
|
|
53
|
+
|
|
54
|
+
- aftercolumnsset (dict; optional):
|
|
55
|
+
Column updated Contains a JSON-safe event envelope.
|
|
56
|
+
|
|
57
|
+
- afteredit (dict; optional):
|
|
58
|
+
After data applied or range changed. Contains a JSON-safe event
|
|
59
|
+
envelope.
|
|
60
|
+
|
|
61
|
+
- afterfocus (dict; optional):
|
|
62
|
+
After focus render finished. Can be used to access a focus element
|
|
63
|
+
through `event.target`. This is just a duplicate of `afterfocus`
|
|
64
|
+
from `revogr-focus.tsx`. Contains a JSON-safe event envelope.
|
|
65
|
+
|
|
66
|
+
- aftergridinit (dict; optional):
|
|
67
|
+
Emmited after the grid is initialized. Connected to the DOM.
|
|
68
|
+
Contains a JSON-safe event envelope.
|
|
69
|
+
|
|
70
|
+
- aftergridrender (dict; optional):
|
|
71
|
+
Emmited after the grid is rendered. Contains a JSON-safe event
|
|
72
|
+
envelope.
|
|
73
|
+
|
|
74
|
+
- aftersortingapply (dict; optional):
|
|
75
|
+
By `SortingPlugin` <br>Triggered after sorting has been applied
|
|
76
|
+
and completed. <br>Provides final sorting state and sorting column
|
|
77
|
+
metadata when available. Contains a JSON-safe event envelope.
|
|
78
|
+
|
|
79
|
+
- aftersourceset (dict; optional):
|
|
80
|
+
After main source/rows updated Contains a JSON-safe event
|
|
81
|
+
envelope.
|
|
82
|
+
|
|
83
|
+
- afterthemechanged (dict; optional):
|
|
84
|
+
Emmited after the theme is changed Contains a JSON-safe event
|
|
85
|
+
envelope.
|
|
86
|
+
|
|
87
|
+
- aftertrimmed (dict; optional):
|
|
88
|
+
Emitted after trimmed values have been applied. Useful for
|
|
89
|
+
notifying when trimming of values has taken place. Contains a
|
|
90
|
+
JSON-safe event envelope.
|
|
91
|
+
|
|
92
|
+
- applyOnClose (boolean; optional):
|
|
93
|
+
Apply changes in editor when closed except 'Escape' cases. If
|
|
94
|
+
custom editor in use method getValue required. Check
|
|
95
|
+
interfaces.d.ts `EditorBase` for more info.
|
|
96
|
+
|
|
97
|
+
- autoSizeColumn (boolean; optional):
|
|
98
|
+
Autosize config. Enables columns autoSize. For more details check
|
|
99
|
+
`autoSizeColumn` plugin. By default disabled, hence operation is
|
|
100
|
+
not performance efficient. `True` to enable with default params
|
|
101
|
+
(double header separator click for autosize). Or define config.
|
|
102
|
+
See `AutoSizeColumnConfig` for more details.
|
|
103
|
+
|
|
104
|
+
- beforeanysource (dict; optional):
|
|
105
|
+
Before data apply on any source type. Can be source from pinned
|
|
106
|
+
and main viewport. You can override data source here Contains a
|
|
107
|
+
JSON-safe event envelope.
|
|
108
|
+
|
|
109
|
+
- beforeautofill (dict; optional):
|
|
110
|
+
Before autofill is applied. To prevent the default behavior of
|
|
111
|
+
applying the edit data, you can call `e.preventDefault()`.
|
|
112
|
+
Contains a JSON-safe event envelope.
|
|
113
|
+
|
|
114
|
+
- beforecellfocus (dict; optional):
|
|
115
|
+
Before the cell focus is changed. To prevent the default behavior
|
|
116
|
+
of changing the cell focus, you can call `e.preventDefault()`.
|
|
117
|
+
Contains a JSON-safe event envelope.
|
|
118
|
+
|
|
119
|
+
- beforecolumnapplied (dict; optional):
|
|
120
|
+
Emitted before a column update is applied, after the column set is
|
|
121
|
+
gathered and the viewport is updated. Useful for performing
|
|
122
|
+
actions or modifications before the final application of the
|
|
123
|
+
column update. Contains a JSON-safe event envelope.
|
|
124
|
+
|
|
125
|
+
- beforecolumnsgather (dict; optional):
|
|
126
|
+
Emitted before user column definitions are gathered into the
|
|
127
|
+
internal column collection. Listeners can replace `detail.columns`
|
|
128
|
+
to rewrite the raw column set before RevoGrid normalizes it.
|
|
129
|
+
Contains a JSON-safe event envelope.
|
|
130
|
+
|
|
131
|
+
- beforecolumnsset (dict; optional):
|
|
132
|
+
Emitted before a column update is applied. Listeners can use this
|
|
133
|
+
event to perform any necessary actions or modifications before the
|
|
134
|
+
column update is finalized. Contains a JSON-safe event envelope.
|
|
135
|
+
|
|
136
|
+
- beforeedit (dict; optional):
|
|
137
|
+
Before the data is edited. To prevent the default behavior of
|
|
138
|
+
editing data and use your own implementation, call
|
|
139
|
+
`e.preventDefault()`. To override the edit result with your own
|
|
140
|
+
value, set the `e.val` property to your desired value. Contains a
|
|
141
|
+
JSON-safe event envelope.
|
|
142
|
+
|
|
143
|
+
- beforeeditstart (dict; optional):
|
|
144
|
+
Emitted before editing starts. Use e.preventDefault() to prevent
|
|
145
|
+
the default edit behavior. Contains a JSON-safe event envelope.
|
|
146
|
+
|
|
147
|
+
- beforeexport (dict; optional):
|
|
148
|
+
Before export Use e.preventDefault() to prevent export Replace
|
|
149
|
+
data in Event in case you want to modify it in export Contains a
|
|
150
|
+
JSON-safe event envelope.
|
|
151
|
+
|
|
152
|
+
- beforefilterapply (dict; optional):
|
|
153
|
+
Emitted before applying a filter to the data source. Use
|
|
154
|
+
e.preventDefault() to prevent cell focus change. Modify if you
|
|
155
|
+
need to change filters. Contains a JSON-safe event envelope.
|
|
156
|
+
|
|
157
|
+
- beforefiltertrimmed (dict; optional):
|
|
158
|
+
Emitted before applying a filter to the data source. Use
|
|
159
|
+
e.preventDefault() to prevent the default behavior of trimming
|
|
160
|
+
values and applying the filter. Modify the `collection` property
|
|
161
|
+
if you want to change the filters. Modify the `itemsToFilter`
|
|
162
|
+
property if you want to filter the indexes for trimming. Contains
|
|
163
|
+
a JSON-safe event envelope.
|
|
164
|
+
|
|
165
|
+
- beforefocuslost (dict; optional):
|
|
166
|
+
Before the grid focus is lost. To prevent the default behavior of
|
|
167
|
+
changing the cell focus, you can call `e.preventDefault()`.
|
|
168
|
+
Contains a JSON-safe event envelope.
|
|
169
|
+
|
|
170
|
+
- beforegridrender (dict; optional):
|
|
171
|
+
Emmited before the grid is rendered. Contains a JSON-safe event
|
|
172
|
+
envelope.
|
|
173
|
+
|
|
174
|
+
- beforerange (dict; optional):
|
|
175
|
+
Before autofill is applied. Runs before beforeautofill event. Use
|
|
176
|
+
e.preventDefault() to prevent range. Contains a JSON-safe event
|
|
177
|
+
envelope.
|
|
178
|
+
|
|
179
|
+
- beforerangeedit (dict; optional):
|
|
180
|
+
Before applying range data, specifically when a range selection
|
|
181
|
+
occurs. To customize the data and prevent the default edit data
|
|
182
|
+
from being set, you can call `e.preventDefault()`. Contains a
|
|
183
|
+
JSON-safe event envelope.
|
|
184
|
+
|
|
185
|
+
- beforerowdefinition (dict; optional):
|
|
186
|
+
Emitted before the row definition is applied. Useful for modifying
|
|
187
|
+
or preventing the default row definition behavior. Contains a
|
|
188
|
+
JSON-safe event envelope.
|
|
189
|
+
|
|
190
|
+
- beforesorting (dict; optional):
|
|
191
|
+
By `SortingPlugin` <br>Triggered immediately after header click.
|
|
192
|
+
<br>First in sorting event sequence. Ff this event stops no other
|
|
193
|
+
event called. <br>Use `e.preventDefault()` to prevent sorting.
|
|
194
|
+
Contains a JSON-safe event envelope.
|
|
195
|
+
|
|
196
|
+
- beforesortingapply (dict; optional):
|
|
197
|
+
By `SortingPlugin` <br> After `beforesorting` <br>Triggered after
|
|
198
|
+
column data updated with new sorting order. <br>Use
|
|
199
|
+
`e.preventDefault()` to prevent sorting data change. Contains a
|
|
200
|
+
JSON-safe event envelope.
|
|
201
|
+
|
|
202
|
+
- beforesourceset (dict; optional):
|
|
203
|
+
Before main source/rows data apply. You can override data source
|
|
204
|
+
here Contains a JSON-safe event envelope.
|
|
205
|
+
|
|
206
|
+
- beforesourcesortingapply (dict; optional):
|
|
207
|
+
By `SortingPlugin` <br>Same as `beforesorting` but triggered after
|
|
208
|
+
`beforeanysource` (when source is changed). <br>Use
|
|
209
|
+
`e.preventDefault()` to prevent sorting data change. Contains a
|
|
210
|
+
JSON-safe event envelope.
|
|
211
|
+
|
|
212
|
+
- beforetrimmed (dict; optional):
|
|
213
|
+
Emitted before trimming values. Use e.preventDefault() to prevent
|
|
214
|
+
the default behavior of trimming values. Modify the `trimmed`
|
|
215
|
+
property if you want to filter the indexes for trimming. Contains
|
|
216
|
+
a JSON-safe event envelope.
|
|
217
|
+
|
|
218
|
+
- canDrag (boolean; optional):
|
|
219
|
+
Disable native drag&drop plugin.
|
|
220
|
+
|
|
221
|
+
- canFocus (boolean; optional):
|
|
222
|
+
When True cell focus appear.
|
|
223
|
+
|
|
224
|
+
- canMoveColumns (boolean; optional):
|
|
225
|
+
Enable column move plugin.
|
|
226
|
+
|
|
227
|
+
- className (string; optional):
|
|
228
|
+
CSS class applied to the RevoGrid component host.
|
|
229
|
+
|
|
230
|
+
- colSize (number; optional):
|
|
231
|
+
Indicates default column size.
|
|
232
|
+
|
|
233
|
+
- columnTypes (dict; optional):
|
|
234
|
+
Column Types Format. Every type represent multiple column
|
|
235
|
+
properties. Types will be merged but can be replaced with column
|
|
236
|
+
properties. Types were made as separate objects to be reusable per
|
|
237
|
+
multiple columns.
|
|
238
|
+
|
|
239
|
+
- columns (list; optional):
|
|
240
|
+
Columns - defines an array of grid columns. Can be column or
|
|
241
|
+
grouped column.
|
|
242
|
+
|
|
243
|
+
- contentsizechanged (dict; optional):
|
|
244
|
+
New content size has been applied. The size excludes the header.
|
|
245
|
+
Currently, the event responsible for applying the new content size
|
|
246
|
+
does not provide the actual size. To retrieve the actual content
|
|
247
|
+
size, you can utilize the `getContentSize` function after the
|
|
248
|
+
event has been triggered. Contains a JSON-safe event envelope.
|
|
249
|
+
|
|
250
|
+
- created (dict; optional):
|
|
251
|
+
Emmited after grid created Contains a JSON-safe event envelope.
|
|
252
|
+
|
|
253
|
+
- disableVirtualX (boolean; optional):
|
|
254
|
+
Disable lazy rendering mode for the `X axis`. Use when not many
|
|
255
|
+
columns present and you don't need rerenader cells during scroll.
|
|
256
|
+
Can be used for initial rendering performance improvement.
|
|
257
|
+
|
|
258
|
+
- disableVirtualY (boolean; optional):
|
|
259
|
+
Disable lazy rendering mode for the `Y axis`. Use when not many
|
|
260
|
+
rows present and you don't need rerenader cells during scroll. Can
|
|
261
|
+
be used for initial rendering performance improvement.
|
|
262
|
+
|
|
263
|
+
- eventData (dict; optional):
|
|
264
|
+
Latest JSON-safe event envelope from eventListeners.
|
|
265
|
+
|
|
266
|
+
- eventListeners (list of strings; optional):
|
|
267
|
+
Additional RevoGrid event names to publish through eventData.
|
|
268
|
+
|
|
269
|
+
- exporting (boolean; optional):
|
|
270
|
+
Enable export plugin.
|
|
271
|
+
|
|
272
|
+
- filter (boolean; optional):
|
|
273
|
+
Enables filter plugin. Can be boolean. Or can be filter collection
|
|
274
|
+
See `FilterCollection` for more info.
|
|
275
|
+
|
|
276
|
+
- filterconfigchanged (dict; optional):
|
|
277
|
+
Emitted when the filter configuration is changed Contains a
|
|
278
|
+
JSON-safe event envelope.
|
|
279
|
+
|
|
280
|
+
- frameSize (number; optional):
|
|
281
|
+
Defines how many rows/columns should be rendered outside visible
|
|
282
|
+
area.
|
|
283
|
+
|
|
284
|
+
- grouping (dict; optional):
|
|
285
|
+
Group rows based on this property. Define properties to be groped
|
|
286
|
+
by grouping plugin See `GroupingOptions`.
|
|
287
|
+
|
|
288
|
+
- headerclick (dict; optional):
|
|
289
|
+
On header click. Contains a JSON-safe event envelope.
|
|
290
|
+
|
|
291
|
+
- hideAttribution (boolean; optional):
|
|
292
|
+
Please only hide the attribution if you are subscribed to Pro
|
|
293
|
+
version.
|
|
294
|
+
|
|
295
|
+
- noHorizontalScrollTransfer (boolean; optional):
|
|
296
|
+
Prevents horizontal scroll state from being mirrored across
|
|
297
|
+
viewport sections.
|
|
298
|
+
|
|
299
|
+
- pinnedBottomSource (list; optional):
|
|
300
|
+
Pinned bottom Source: {[T in ColumnProp]: any} - defines pinned
|
|
301
|
+
bottom rows data source.
|
|
302
|
+
|
|
303
|
+
- pinnedTopSource (list; optional):
|
|
304
|
+
Pinned top Source: {[T in ColumnProp]: any} - defines pinned top
|
|
305
|
+
rows data source.
|
|
306
|
+
|
|
307
|
+
- range (boolean; optional):
|
|
308
|
+
When True, user can select a cell range. Required for range-based
|
|
309
|
+
clipboard fill.
|
|
310
|
+
|
|
311
|
+
- readonly (boolean; optional):
|
|
312
|
+
When True, grid in read only mode.
|
|
313
|
+
|
|
314
|
+
- resize (boolean; optional):
|
|
315
|
+
When True, columns are resizable.
|
|
316
|
+
|
|
317
|
+
- rowClass (string; optional):
|
|
318
|
+
Row class property mapping. Map custom classes to rows from row
|
|
319
|
+
object data. Define this property in rgRow object and this will be
|
|
320
|
+
mapped as rgRow class.
|
|
321
|
+
|
|
322
|
+
- rowDefinitions (list; optional):
|
|
323
|
+
Custom row properies to be applied. See `RowDefinition` for more
|
|
324
|
+
info.
|
|
325
|
+
|
|
326
|
+
- rowHeaders (boolean; optional):
|
|
327
|
+
Excel like functionality. Show row numbers. Also can be used for
|
|
328
|
+
custom row header render if object provided.
|
|
329
|
+
|
|
330
|
+
- rowSize (number; optional):
|
|
331
|
+
Indicates default rgRow size. By default 0, means theme package
|
|
332
|
+
size will be applied Alternatively you can use `rowSize` to reset
|
|
333
|
+
viewport.
|
|
334
|
+
|
|
335
|
+
- rowdragstart (dict; optional):
|
|
336
|
+
This event is triggered when the row order change is started. To
|
|
337
|
+
prevent the default behavior of changing the row order, you can
|
|
338
|
+
call `e.preventDefault()`. To change the item name at the start of
|
|
339
|
+
the row order change, you can set `e.text` to the desired new
|
|
340
|
+
name. Contains a JSON-safe event envelope.
|
|
341
|
+
|
|
342
|
+
- rowheaderschanged (dict; optional):
|
|
343
|
+
Emmited when the row headers are changed. Contains a JSON-safe
|
|
344
|
+
event envelope.
|
|
345
|
+
|
|
346
|
+
- roworderchanged (dict; optional):
|
|
347
|
+
Before the order of `rgRow` is applied. To prevent the default
|
|
348
|
+
behavior of changing the order of `rgRow`, you can call
|
|
349
|
+
`e.preventDefault()`. Contains a JSON-safe event envelope.
|
|
350
|
+
|
|
351
|
+
- rtl (boolean; optional):
|
|
352
|
+
Enable right-to-left (RTL) mode. When enabled, columns will be
|
|
353
|
+
displayed from right to left.
|
|
354
|
+
|
|
355
|
+
- sorting (dict; optional):
|
|
356
|
+
Alternative way to set sorting. `{columns: [{prop: 'name', order:
|
|
357
|
+
'asc'}]}` Use SortingPlugin to get current sorting state.
|
|
358
|
+
|
|
359
|
+
- sortingconfigchanged (dict; optional):
|
|
360
|
+
Emitted when the sorting configuration is changed SortingPlugin
|
|
361
|
+
subsribed to this event Contains a JSON-safe event envelope.
|
|
362
|
+
|
|
363
|
+
- source (list; optional):
|
|
364
|
+
Source - defines main data source. Can be an Object or 2
|
|
365
|
+
dimensional array([][]); Keys/indexes referenced from columns
|
|
366
|
+
Prop.
|
|
367
|
+
|
|
368
|
+
- stretch (boolean | string; optional):
|
|
369
|
+
Stretch strategy for columns by `StretchColumn` plugin. For
|
|
370
|
+
example if there are more space on the right last column size
|
|
371
|
+
would be increased.
|
|
372
|
+
|
|
373
|
+
- syncSourceOnEdit (boolean; default False):
|
|
374
|
+
When True, afteredit also updates the complete Dash source
|
|
375
|
+
property.
|
|
376
|
+
|
|
377
|
+
- theme (string; optional):
|
|
378
|
+
Theme name.
|
|
379
|
+
|
|
380
|
+
- trimmedRows (boolean | number; optional):
|
|
381
|
+
Trimmed rows. Functionality which allows to hide rows from main
|
|
382
|
+
data set. `trimmedRows` are physical `rgRow` indexes to hide.
|
|
383
|
+
|
|
384
|
+
- useClipboard (boolean; optional):
|
|
385
|
+
When True enable clipboard. Can be boolean or clipboard config.
|
|
386
|
+
|
|
387
|
+
- viewportscroll (dict; optional):
|
|
388
|
+
Emitted when the viewport is scrolled. Useful for tracking
|
|
389
|
+
viewport scrolling events. Contains a JSON-safe event envelope.
|
|
390
|
+
|
|
391
|
+
- virtualX (list; optional):
|
|
392
|
+
Column dimensions that use X axis virtual rendering. Defaults to
|
|
393
|
+
regular columns only to preserve pinned column behavior. Set to
|
|
394
|
+
`['rgCol', 'colPinStart', 'colPinEnd']` to virtualize all column
|
|
395
|
+
areas."""
|
|
396
|
+
_children_props: typing.List[str] = []
|
|
397
|
+
_base_nodes = ['children']
|
|
398
|
+
_namespace = 'dash_datagrid'
|
|
399
|
+
_type = 'RevoGrid'
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
def __init__(
|
|
403
|
+
self,
|
|
404
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
405
|
+
className: typing.Optional[str] = None,
|
|
406
|
+
style: typing.Optional[typing.Any] = None,
|
|
407
|
+
accessible: typing.Optional[bool] = None,
|
|
408
|
+
additionalData: typing.Optional[typing.Any] = None,
|
|
409
|
+
applyOnClose: typing.Optional[bool] = None,
|
|
410
|
+
autoSizeColumn: typing.Optional[bool] = None,
|
|
411
|
+
canDrag: typing.Optional[bool] = None,
|
|
412
|
+
canFocus: typing.Optional[bool] = None,
|
|
413
|
+
canMoveColumns: typing.Optional[bool] = None,
|
|
414
|
+
colSize: typing.Optional[NumberType] = None,
|
|
415
|
+
columns: typing.Optional[typing.Sequence] = None,
|
|
416
|
+
columnTypes: typing.Optional[dict] = None,
|
|
417
|
+
disableVirtualX: typing.Optional[bool] = None,
|
|
418
|
+
disableVirtualY: typing.Optional[bool] = None,
|
|
419
|
+
exporting: typing.Optional[bool] = None,
|
|
420
|
+
filter: typing.Optional[bool] = None,
|
|
421
|
+
frameSize: typing.Optional[NumberType] = None,
|
|
422
|
+
grouping: typing.Optional[dict] = None,
|
|
423
|
+
hideAttribution: typing.Optional[bool] = None,
|
|
424
|
+
noHorizontalScrollTransfer: typing.Optional[bool] = None,
|
|
425
|
+
pinnedBottomSource: typing.Optional[typing.Sequence] = None,
|
|
426
|
+
pinnedTopSource: typing.Optional[typing.Sequence] = None,
|
|
427
|
+
range: typing.Optional[bool] = None,
|
|
428
|
+
readonly: typing.Optional[bool] = None,
|
|
429
|
+
resize: typing.Optional[bool] = None,
|
|
430
|
+
rowClass: typing.Optional[str] = None,
|
|
431
|
+
rowDefinitions: typing.Optional[typing.Sequence] = None,
|
|
432
|
+
rowHeaders: typing.Optional[bool] = None,
|
|
433
|
+
rowSize: typing.Optional[NumberType] = None,
|
|
434
|
+
rtl: typing.Optional[bool] = None,
|
|
435
|
+
sorting: typing.Optional[dict] = None,
|
|
436
|
+
source: typing.Optional[typing.Sequence] = None,
|
|
437
|
+
stretch: typing.Optional[typing.Union[bool, str]] = None,
|
|
438
|
+
theme: typing.Optional[str] = None,
|
|
439
|
+
trimmedRows: typing.Optional[typing.Union[bool, NumberType]] = None,
|
|
440
|
+
useClipboard: typing.Optional[bool] = None,
|
|
441
|
+
virtualX: typing.Optional[typing.Sequence] = None,
|
|
442
|
+
additionaldatachanged: typing.Optional[dict] = None,
|
|
443
|
+
afteranysource: typing.Optional[dict] = None,
|
|
444
|
+
aftercolumnresize: typing.Optional[dict] = None,
|
|
445
|
+
aftercolumnsset: typing.Optional[dict] = None,
|
|
446
|
+
afteredit: typing.Optional[dict] = None,
|
|
447
|
+
afterfocus: typing.Optional[dict] = None,
|
|
448
|
+
aftergridinit: typing.Optional[dict] = None,
|
|
449
|
+
aftergridrender: typing.Optional[dict] = None,
|
|
450
|
+
aftersortingapply: typing.Optional[dict] = None,
|
|
451
|
+
aftersourceset: typing.Optional[dict] = None,
|
|
452
|
+
afterthemechanged: typing.Optional[dict] = None,
|
|
453
|
+
aftertrimmed: typing.Optional[dict] = None,
|
|
454
|
+
beforeanysource: typing.Optional[dict] = None,
|
|
455
|
+
beforeautofill: typing.Optional[dict] = None,
|
|
456
|
+
beforecellfocus: typing.Optional[dict] = None,
|
|
457
|
+
beforecolumnapplied: typing.Optional[dict] = None,
|
|
458
|
+
beforecolumnsgather: typing.Optional[dict] = None,
|
|
459
|
+
beforecolumnsset: typing.Optional[dict] = None,
|
|
460
|
+
beforeedit: typing.Optional[dict] = None,
|
|
461
|
+
beforeeditstart: typing.Optional[dict] = None,
|
|
462
|
+
beforeexport: typing.Optional[dict] = None,
|
|
463
|
+
beforefilterapply: typing.Optional[dict] = None,
|
|
464
|
+
beforefiltertrimmed: typing.Optional[dict] = None,
|
|
465
|
+
beforefocuslost: typing.Optional[dict] = None,
|
|
466
|
+
beforegridrender: typing.Optional[dict] = None,
|
|
467
|
+
beforerange: typing.Optional[dict] = None,
|
|
468
|
+
beforerangeedit: typing.Optional[dict] = None,
|
|
469
|
+
beforerowdefinition: typing.Optional[dict] = None,
|
|
470
|
+
beforesorting: typing.Optional[dict] = None,
|
|
471
|
+
beforesortingapply: typing.Optional[dict] = None,
|
|
472
|
+
beforesourceset: typing.Optional[dict] = None,
|
|
473
|
+
beforesourcesortingapply: typing.Optional[dict] = None,
|
|
474
|
+
beforetrimmed: typing.Optional[dict] = None,
|
|
475
|
+
contentsizechanged: typing.Optional[dict] = None,
|
|
476
|
+
created: typing.Optional[dict] = None,
|
|
477
|
+
filterconfigchanged: typing.Optional[dict] = None,
|
|
478
|
+
headerclick: typing.Optional[dict] = None,
|
|
479
|
+
rowdragstart: typing.Optional[dict] = None,
|
|
480
|
+
rowheaderschanged: typing.Optional[dict] = None,
|
|
481
|
+
roworderchanged: typing.Optional[dict] = None,
|
|
482
|
+
sortingconfigchanged: typing.Optional[dict] = None,
|
|
483
|
+
viewportscroll: typing.Optional[dict] = None,
|
|
484
|
+
eventListeners: typing.Optional[typing.Sequence[str]] = None,
|
|
485
|
+
eventData: typing.Optional[dict] = None,
|
|
486
|
+
syncSourceOnEdit: typing.Optional[bool] = None,
|
|
487
|
+
**kwargs
|
|
488
|
+
):
|
|
489
|
+
self._prop_names = ['id', 'accessible', 'additionalData', 'additionaldatachanged', 'afteranysource', 'aftercolumnresize', 'aftercolumnsset', 'afteredit', 'afterfocus', 'aftergridinit', 'aftergridrender', 'aftersortingapply', 'aftersourceset', 'afterthemechanged', 'aftertrimmed', 'applyOnClose', 'autoSizeColumn', 'beforeanysource', 'beforeautofill', 'beforecellfocus', 'beforecolumnapplied', 'beforecolumnsgather', 'beforecolumnsset', 'beforeedit', 'beforeeditstart', 'beforeexport', 'beforefilterapply', 'beforefiltertrimmed', 'beforefocuslost', 'beforegridrender', 'beforerange', 'beforerangeedit', 'beforerowdefinition', 'beforesorting', 'beforesortingapply', 'beforesourceset', 'beforesourcesortingapply', 'beforetrimmed', 'canDrag', 'canFocus', 'canMoveColumns', 'className', 'colSize', 'columnTypes', 'columns', 'contentsizechanged', 'created', 'disableVirtualX', 'disableVirtualY', 'eventData', 'eventListeners', 'exporting', 'filter', 'filterconfigchanged', 'frameSize', 'grouping', 'headerclick', 'hideAttribution', 'noHorizontalScrollTransfer', 'pinnedBottomSource', 'pinnedTopSource', 'range', 'readonly', 'resize', 'rowClass', 'rowDefinitions', 'rowHeaders', 'rowSize', 'rowdragstart', 'rowheaderschanged', 'roworderchanged', 'rtl', 'sorting', 'sortingconfigchanged', 'source', 'stretch', 'style', 'syncSourceOnEdit', 'theme', 'trimmedRows', 'useClipboard', 'viewportscroll', 'virtualX']
|
|
490
|
+
self._valid_wildcard_attributes = []
|
|
491
|
+
self.available_properties = ['id', 'accessible', 'additionalData', 'additionaldatachanged', 'afteranysource', 'aftercolumnresize', 'aftercolumnsset', 'afteredit', 'afterfocus', 'aftergridinit', 'aftergridrender', 'aftersortingapply', 'aftersourceset', 'afterthemechanged', 'aftertrimmed', 'applyOnClose', 'autoSizeColumn', 'beforeanysource', 'beforeautofill', 'beforecellfocus', 'beforecolumnapplied', 'beforecolumnsgather', 'beforecolumnsset', 'beforeedit', 'beforeeditstart', 'beforeexport', 'beforefilterapply', 'beforefiltertrimmed', 'beforefocuslost', 'beforegridrender', 'beforerange', 'beforerangeedit', 'beforerowdefinition', 'beforesorting', 'beforesortingapply', 'beforesourceset', 'beforesourcesortingapply', 'beforetrimmed', 'canDrag', 'canFocus', 'canMoveColumns', 'className', 'colSize', 'columnTypes', 'columns', 'contentsizechanged', 'created', 'disableVirtualX', 'disableVirtualY', 'eventData', 'eventListeners', 'exporting', 'filter', 'filterconfigchanged', 'frameSize', 'grouping', 'headerclick', 'hideAttribution', 'noHorizontalScrollTransfer', 'pinnedBottomSource', 'pinnedTopSource', 'range', 'readonly', 'resize', 'rowClass', 'rowDefinitions', 'rowHeaders', 'rowSize', 'rowdragstart', 'rowheaderschanged', 'roworderchanged', 'rtl', 'sorting', 'sortingconfigchanged', 'source', 'stretch', 'style', 'syncSourceOnEdit', 'theme', 'trimmedRows', 'useClipboard', 'viewportscroll', 'virtualX']
|
|
492
|
+
self.available_wildcard_properties = []
|
|
493
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
494
|
+
_locals = locals()
|
|
495
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
496
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
497
|
+
|
|
498
|
+
super(RevoGrid, self).__init__(**args)
|
|
499
|
+
|
|
500
|
+
setattr(RevoGrid, "__init__", _explicitize_args(RevoGrid.__init__))
|