@elliemae/ds-datagrids 2.0.0-rc.7 → 2.0.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/plugins/editable/EditableComponents/ComboBox.js +2 -3
- package/cjs/plugins/editable/EditableComponents/TextBox.js +2 -3
- package/esm/plugins/editable/EditableComponents/ComboBox.js +2 -3
- package/esm/plugins/editable/EditableComponents/TextBox.js +2 -3
- package/package.json +23 -15
- package/types/DSDataGrid.d.ts +744 -105
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-datagrids",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Data Grids",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -541,20 +541,25 @@
|
|
|
541
541
|
"generateSubmodules": true
|
|
542
542
|
},
|
|
543
543
|
"dependencies": {
|
|
544
|
-
"@elliemae/ds-basic": "2.0.
|
|
545
|
-
"@elliemae/ds-
|
|
546
|
-
"@elliemae/ds-
|
|
547
|
-
"@elliemae/ds-
|
|
548
|
-
"@elliemae/ds-
|
|
549
|
-
"@elliemae/ds-
|
|
550
|
-
"@elliemae/ds-
|
|
551
|
-
"@elliemae/ds-
|
|
552
|
-
"@elliemae/ds-grid": "2.0.
|
|
553
|
-
"@elliemae/ds-icons": "2.0.
|
|
554
|
-
"@elliemae/ds-menu": "2.0.
|
|
555
|
-
"@elliemae/ds-
|
|
556
|
-
"@elliemae/ds-
|
|
557
|
-
"@elliemae/ds-
|
|
544
|
+
"@elliemae/ds-basic": "2.0.1-rc.0",
|
|
545
|
+
"@elliemae/ds-button": "2.0.1-rc.0",
|
|
546
|
+
"@elliemae/ds-classnames": "2.0.1-rc.0",
|
|
547
|
+
"@elliemae/ds-controlled-form": "2.0.1-rc.0",
|
|
548
|
+
"@elliemae/ds-datagrids": "2.0.1-rc.0",
|
|
549
|
+
"@elliemae/ds-dropdownmenu": "2.0.1-rc.0",
|
|
550
|
+
"@elliemae/ds-filterbar": "2.0.1-rc.0",
|
|
551
|
+
"@elliemae/ds-form": "2.0.1-rc.0",
|
|
552
|
+
"@elliemae/ds-grid": "2.0.1-rc.0",
|
|
553
|
+
"@elliemae/ds-icons": "2.0.1-rc.0",
|
|
554
|
+
"@elliemae/ds-menu": "2.0.1-rc.0",
|
|
555
|
+
"@elliemae/ds-popper": "2.0.1-rc.0",
|
|
556
|
+
"@elliemae/ds-separator": "2.0.1-rc.0",
|
|
557
|
+
"@elliemae/ds-shared": "2.0.1-rc.0",
|
|
558
|
+
"@elliemae/ds-spinner": "2.0.1-rc.0",
|
|
559
|
+
"@elliemae/ds-system": "2.0.1-rc.0",
|
|
560
|
+
"@elliemae/ds-toolbar": "2.0.1-rc.0",
|
|
561
|
+
"@elliemae/ds-truncated-tooltip-text": "2.0.1-rc.0",
|
|
562
|
+
"@elliemae/ds-utilities": "2.0.1-rc.0",
|
|
558
563
|
"comparejs": "~1.0.3",
|
|
559
564
|
"memoize-one": "~5.1.1",
|
|
560
565
|
"moment": "~2.29.1",
|
|
@@ -571,6 +576,9 @@
|
|
|
571
576
|
"uuid": "~8.3.2"
|
|
572
577
|
},
|
|
573
578
|
"devDependencies": {
|
|
579
|
+
"@testing-library/jest-dom": "~5.15.0",
|
|
580
|
+
"@testing-library/react": "~12.1.2",
|
|
581
|
+
"@testing-library/user-event": "~13.5.0",
|
|
574
582
|
"styled-components": "~5.3.3"
|
|
575
583
|
},
|
|
576
584
|
"peerDependencies": {
|
package/types/DSDataGrid.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSDataGrids: {
|
|
3
4
|
({ containerProps, instanceRef, className, columns, rows, rowKey, infiniteScrolling, editable, sortable, sortEmptyLast, paginated, dragAndDropRows, selectable, resizeableColumns, searchFilters, dragAndDropColumns, useTreeData, autoScrollToId, overscanCount, selectAll, selectedRows, filters, onAddFilter, onRemoveFilter, onFiltersChange, showFilterBar, multiSelectFilterOptions, multiSelectFilterLabels, multiSelectFilterLabel, aggregations, groupingColumn, sortingColumns, minPerPage, maxPerPage, onPerPageChange, onPageChange, paginationStep, pagination, showHeader, fixedHeader, wrapText, height, minColumnWidth, showRowsLoader, visibleColumns, showSelectHighlight, showSelectColumn, selectColumnSortable, selectColumnFilterable, selectionColumnDefinition, filterBarOptions, renderToolbar, toolbarDelayClose, renderFilterToolbar, multiSelectComponent, noResultsRender, noResultsPlaceholder, fluidHeight, customHandlers, groupedBy, onDefaultFiltersLoad, onReorder, onMoveRowEnd, onMoveRowStart, onMoveColumnOver, onMoveColumnStart, onMoveColumnEnd, onColumnResize, onExpandChange, onToggleExpand, onExpandRow, onFilter, onSort, onColumnRowEdited, onColumnRowEdit, onSelectRow, onSelectAll, onInfiniteScrolling, onFilterMenuClose, onFilterMenuOpen, getData, serverSideData, isDataSorted, isDataFiltered, virtualized, numRowsVisible, isColumnEditable, groupedRows, groupedRowsRenderHeader, renderExpandedDetails, detailColumns, expandable, getChildrenRows, expandableSubrowsVisible, renderRowDetails, getExpandedRowSize, getExpandedRowMinSize, rowSize, subRowSize, bindColumnsSizeTo, bindRowSizeTo, onToggleShowAllRows, expandedRows, autoHeight, noColumnsPlaceholder, plugins, normalizeDataKeys, }: {
|
|
@@ -117,222 +118,860 @@ declare const DSDataGrids: {
|
|
|
117
118
|
}): JSX.Element;
|
|
118
119
|
propTypes: {
|
|
119
120
|
/** ref to the instance of the datagrid, handle it imperatively */
|
|
120
|
-
instanceRef:
|
|
121
|
+
instanceRef: {
|
|
122
|
+
defaultValue<T = unknown>(arg: T): {
|
|
123
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
124
|
+
};
|
|
125
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
126
|
+
};
|
|
121
127
|
/** class for data grid wrapper */
|
|
122
|
-
className:
|
|
128
|
+
className: {
|
|
129
|
+
defaultValue<T = unknown>(arg: T): {
|
|
130
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
131
|
+
};
|
|
132
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
133
|
+
};
|
|
123
134
|
/** inject props to datagrid wrapper */
|
|
124
|
-
containerProps:
|
|
135
|
+
containerProps: {
|
|
136
|
+
defaultValue<T = unknown>(arg: T): {
|
|
137
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
138
|
+
};
|
|
139
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
140
|
+
};
|
|
125
141
|
/** FilterBar props passed down to FilterBar */
|
|
126
|
-
filterBarOptions:
|
|
142
|
+
filterBarOptions: {
|
|
143
|
+
defaultValue<T = unknown>(arg: T): {
|
|
144
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
145
|
+
};
|
|
146
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
147
|
+
};
|
|
127
148
|
/** datagrid columns */
|
|
128
|
-
columns:
|
|
149
|
+
columns: {
|
|
150
|
+
defaultValue<T = unknown>(arg: T): {
|
|
151
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
152
|
+
};
|
|
153
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
154
|
+
};
|
|
129
155
|
/** datagrid rows */
|
|
130
|
-
rows:
|
|
156
|
+
rows: {
|
|
157
|
+
defaultValue<T = unknown>(arg: T): {
|
|
158
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
159
|
+
};
|
|
160
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
161
|
+
};
|
|
131
162
|
/** key for each row */
|
|
132
|
-
rowKey:
|
|
163
|
+
rowKey: {
|
|
164
|
+
defaultValue<T = unknown>(arg: T): {
|
|
165
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
166
|
+
};
|
|
167
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
168
|
+
};
|
|
133
169
|
/** toggle infinite scroll loading behavior */
|
|
134
|
-
infiniteScrolling:
|
|
170
|
+
infiniteScrolling: {
|
|
171
|
+
defaultValue<T = unknown>(arg: T): {
|
|
172
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
173
|
+
};
|
|
174
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
175
|
+
};
|
|
135
176
|
/** Activates 'editable' feature on the DataGrid NOTE: needs to be activated in the column definition as well */
|
|
136
|
-
overscanCount:
|
|
177
|
+
overscanCount: {
|
|
178
|
+
defaultValue<T = unknown>(arg: T): {
|
|
179
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
180
|
+
};
|
|
181
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
182
|
+
};
|
|
137
183
|
/** turn datagrid to editable mode */
|
|
138
|
-
editable:
|
|
184
|
+
editable: {
|
|
185
|
+
defaultValue<T = unknown>(arg: T): {
|
|
186
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
187
|
+
};
|
|
188
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
189
|
+
};
|
|
139
190
|
/** Activates 'sortable' feature on the GataGrid NOTE: needs to be activated in the column definition as well */
|
|
140
|
-
sortable:
|
|
191
|
+
sortable: {
|
|
192
|
+
defaultValue<T = unknown>(arg: T): {
|
|
193
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
194
|
+
};
|
|
195
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
196
|
+
};
|
|
141
197
|
/** Put empty values always last on the column after sorting */
|
|
142
|
-
sortEmptyLast:
|
|
198
|
+
sortEmptyLast: {
|
|
199
|
+
defaultValue<T = unknown>(arg: T): {
|
|
200
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
201
|
+
};
|
|
202
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
203
|
+
};
|
|
143
204
|
/** Activates 'pagination' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
|
144
|
-
paginated:
|
|
205
|
+
paginated: {
|
|
206
|
+
defaultValue<T = unknown>(arg: T): {
|
|
207
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
208
|
+
};
|
|
209
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
210
|
+
};
|
|
145
211
|
/** Pagination step for clicking the next pages */
|
|
146
|
-
paginationStep:
|
|
212
|
+
paginationStep: {
|
|
213
|
+
defaultValue<T = unknown>(arg: T): {
|
|
214
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
215
|
+
};
|
|
216
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
217
|
+
};
|
|
147
218
|
/** Activates 'drag and drop rows' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
|
148
|
-
dragAndDropRows:
|
|
219
|
+
dragAndDropRows: {
|
|
220
|
+
defaultValue<T = unknown>(arg: T): {
|
|
221
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
222
|
+
};
|
|
223
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
224
|
+
};
|
|
149
225
|
/** Activates 'selection' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
|
150
|
-
selectable:
|
|
226
|
+
selectable: {
|
|
227
|
+
defaultValue<T = unknown>(arg: T): {
|
|
228
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
229
|
+
};
|
|
230
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
231
|
+
};
|
|
151
232
|
/** Activates 'resize' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
|
152
|
-
resizeableColumns:
|
|
233
|
+
resizeableColumns: {
|
|
234
|
+
defaultValue<T = unknown>(arg: T): {
|
|
235
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
236
|
+
};
|
|
237
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
238
|
+
};
|
|
153
239
|
/** Placeholder rendered when no rows are visible */
|
|
154
|
-
noResultsPlaceholder:
|
|
240
|
+
noResultsPlaceholder: {
|
|
241
|
+
defaultValue<T = unknown>(arg: T): {
|
|
242
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
243
|
+
};
|
|
244
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
245
|
+
};
|
|
155
246
|
/** Activates 'filtering' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
|
156
|
-
searchFilters:
|
|
247
|
+
searchFilters: {
|
|
248
|
+
defaultValue<T = unknown>(arg: T): {
|
|
249
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
250
|
+
};
|
|
251
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
252
|
+
};
|
|
157
253
|
/** Activates 'drag and drop columns' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
|
158
|
-
dragAndDropColumns:
|
|
254
|
+
dragAndDropColumns: {
|
|
255
|
+
defaultValue<T = unknown>(arg: T): {
|
|
256
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
257
|
+
};
|
|
258
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
259
|
+
};
|
|
159
260
|
/** Activates 'grouping and tree data' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
|
160
|
-
useTreeData:
|
|
261
|
+
useTreeData: {
|
|
262
|
+
defaultValue<T = unknown>(arg: T): {
|
|
263
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
264
|
+
};
|
|
265
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
266
|
+
};
|
|
161
267
|
/** AutoScroll to row ID */
|
|
162
|
-
autoScrollToId:
|
|
268
|
+
autoScrollToId: {
|
|
269
|
+
defaultValue<T = unknown>(arg: T): {
|
|
270
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
271
|
+
};
|
|
272
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
273
|
+
};
|
|
163
274
|
/** Whether all rows are selected or not */
|
|
164
|
-
selectAll:
|
|
275
|
+
selectAll: {
|
|
276
|
+
defaultValue<T = unknown>(arg: T): {
|
|
277
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
278
|
+
};
|
|
279
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
280
|
+
};
|
|
165
281
|
/** Defines the selected rows */
|
|
166
|
-
selectedRows:
|
|
282
|
+
selectedRows: {
|
|
283
|
+
defaultValue<T = unknown>(arg: T): {
|
|
284
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
285
|
+
};
|
|
286
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
287
|
+
};
|
|
167
288
|
/** Filters to be applied to the grid */
|
|
168
|
-
filters:
|
|
289
|
+
filters: {
|
|
290
|
+
defaultValue<T = unknown>(arg: T): {
|
|
291
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
292
|
+
};
|
|
293
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
294
|
+
};
|
|
169
295
|
/** Handler when user expands a row */
|
|
170
|
-
onExpandRow:
|
|
296
|
+
onExpandRow: {
|
|
297
|
+
defaultValue<T = unknown>(arg: T): {
|
|
298
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
299
|
+
};
|
|
300
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
301
|
+
};
|
|
171
302
|
/** Handler when user expands a row with full expand state */
|
|
172
|
-
onExpandChange:
|
|
303
|
+
onExpandChange: {
|
|
304
|
+
defaultValue<T = unknown>(arg: T): {
|
|
305
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
306
|
+
};
|
|
307
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
308
|
+
};
|
|
173
309
|
/** Handler when user expands a row (old API) */
|
|
174
|
-
onToggleExpand:
|
|
310
|
+
onToggleExpand: {
|
|
311
|
+
defaultValue<T = unknown>(arg: T): {
|
|
312
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
313
|
+
};
|
|
314
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
315
|
+
};
|
|
175
316
|
/** Handler when user adds a filter */
|
|
176
|
-
onAddFilter:
|
|
317
|
+
onAddFilter: {
|
|
318
|
+
defaultValue<T = unknown>(arg: T): {
|
|
319
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
320
|
+
};
|
|
321
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
322
|
+
};
|
|
177
323
|
/** Handler when user removes a filter */
|
|
178
|
-
onRemoveFilter:
|
|
324
|
+
onRemoveFilter: {
|
|
325
|
+
defaultValue<T = unknown>(arg: T): {
|
|
326
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
327
|
+
};
|
|
328
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
329
|
+
};
|
|
179
330
|
/** Handler when the filters state has changed */
|
|
180
|
-
onFiltersChange:
|
|
331
|
+
onFiltersChange: {
|
|
332
|
+
defaultValue<T = unknown>(arg: T): {
|
|
333
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
334
|
+
};
|
|
335
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
336
|
+
};
|
|
181
337
|
/** Handler when the default filters load. Returns the rows rendered */
|
|
182
|
-
onDefaultFiltersLoad:
|
|
338
|
+
onDefaultFiltersLoad: {
|
|
339
|
+
defaultValue<T = unknown>(arg: T): {
|
|
340
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
341
|
+
};
|
|
342
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
343
|
+
};
|
|
183
344
|
/** Handler when column move is over another column */
|
|
184
|
-
onMoveColumnOver:
|
|
345
|
+
onMoveColumnOver: {
|
|
346
|
+
defaultValue<T = unknown>(arg: T): {
|
|
347
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
348
|
+
};
|
|
349
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
350
|
+
};
|
|
185
351
|
/** Handler when column move starts */
|
|
186
|
-
onMoveColumnStart:
|
|
352
|
+
onMoveColumnStart: {
|
|
353
|
+
defaultValue<T = unknown>(arg: T): {
|
|
354
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
355
|
+
};
|
|
356
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
357
|
+
};
|
|
187
358
|
/** Handler when column move ends */
|
|
188
|
-
onMoveColumnEnd:
|
|
359
|
+
onMoveColumnEnd: {
|
|
360
|
+
defaultValue<T = unknown>(arg: T): {
|
|
361
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
362
|
+
};
|
|
363
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
364
|
+
};
|
|
189
365
|
/** Whether to show the filter bar or not */
|
|
190
|
-
showFilterBar:
|
|
366
|
+
showFilterBar: {
|
|
367
|
+
defaultValue<T = unknown>(arg: T): {
|
|
368
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
369
|
+
};
|
|
370
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
371
|
+
};
|
|
191
372
|
/** Custom option for the header with multi select */
|
|
192
|
-
multiSelectFilterOptions:
|
|
373
|
+
multiSelectFilterOptions: {
|
|
374
|
+
defaultValue<T = unknown>(arg: T): {
|
|
375
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
376
|
+
};
|
|
377
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
378
|
+
};
|
|
193
379
|
/** Label to the header column for multi select */
|
|
194
|
-
multiSelectFilterLabel:
|
|
380
|
+
multiSelectFilterLabel: {
|
|
381
|
+
defaultValue<T = unknown>(arg: T): {
|
|
382
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
383
|
+
};
|
|
384
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
385
|
+
};
|
|
195
386
|
/** Labels for multi selects */
|
|
196
|
-
multiSelectFilterLabels:
|
|
387
|
+
multiSelectFilterLabels: {
|
|
388
|
+
defaultValue<T = unknown>(arg: T): {
|
|
389
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
390
|
+
};
|
|
391
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
392
|
+
};
|
|
197
393
|
/** unstable */
|
|
198
394
|
aggregations: any;
|
|
199
395
|
/** unstable */
|
|
200
396
|
/** Column which rows would be grouped by */
|
|
201
397
|
groupingColumn: any;
|
|
202
398
|
/** group by */
|
|
203
|
-
groupedBy:
|
|
399
|
+
groupedBy: {
|
|
400
|
+
defaultValue<T = unknown>(arg: T): {
|
|
401
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
402
|
+
};
|
|
403
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
404
|
+
};
|
|
204
405
|
/** Defines the sorting state */
|
|
205
|
-
sortingColumns:
|
|
406
|
+
sortingColumns: {
|
|
407
|
+
defaultValue<T = unknown>(arg: T): {
|
|
408
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
409
|
+
};
|
|
410
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
411
|
+
};
|
|
206
412
|
/** Visible columns property */
|
|
207
|
-
visibleColumns:
|
|
413
|
+
visibleColumns: {
|
|
414
|
+
defaultValue<T = unknown>(arg: T): {
|
|
415
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
416
|
+
};
|
|
417
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
418
|
+
};
|
|
208
419
|
/** Pagination: Minimum number of rows per page */
|
|
209
|
-
minPerPage:
|
|
420
|
+
minPerPage: {
|
|
421
|
+
defaultValue<T = unknown>(arg: T): {
|
|
422
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
423
|
+
};
|
|
424
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
425
|
+
};
|
|
210
426
|
/** Pagination: Maximum number of rows per page */
|
|
211
|
-
maxPerPage:
|
|
427
|
+
maxPerPage: {
|
|
428
|
+
defaultValue<T = unknown>(arg: T): {
|
|
429
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
430
|
+
};
|
|
431
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
432
|
+
};
|
|
212
433
|
/** Pagination: Handler when user changes the amount of rows per page */
|
|
213
|
-
onPerPageChange:
|
|
434
|
+
onPerPageChange: {
|
|
435
|
+
defaultValue<T = unknown>(arg: T): {
|
|
436
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
437
|
+
};
|
|
438
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
439
|
+
};
|
|
214
440
|
/** Pagination: Handler when user changes the page */
|
|
215
|
-
onPageChange:
|
|
441
|
+
onPageChange: {
|
|
442
|
+
defaultValue<T = unknown>(arg: T): {
|
|
443
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
444
|
+
};
|
|
445
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
446
|
+
};
|
|
216
447
|
/** Pagination state */
|
|
217
|
-
pagination:
|
|
448
|
+
pagination: {
|
|
449
|
+
defaultValue<T = unknown>(arg: T): {
|
|
450
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
451
|
+
};
|
|
452
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
453
|
+
};
|
|
218
454
|
/** Whether to show the header or not */
|
|
219
|
-
showHeader:
|
|
455
|
+
showHeader: {
|
|
456
|
+
defaultValue<T = unknown>(arg: T): {
|
|
457
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
458
|
+
};
|
|
459
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
460
|
+
};
|
|
220
461
|
/** Whether to header is fixed or not */
|
|
221
|
-
fixedHeader:
|
|
462
|
+
fixedHeader: {
|
|
463
|
+
defaultValue<T = unknown>(arg: T): {
|
|
464
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
465
|
+
};
|
|
466
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
467
|
+
};
|
|
222
468
|
/** Defines the height of the DataGrid */
|
|
223
|
-
height:
|
|
469
|
+
height: {
|
|
470
|
+
defaultValue<T = unknown>(arg: T): {
|
|
471
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
472
|
+
};
|
|
473
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
474
|
+
};
|
|
224
475
|
/** General min column width for all the columns */
|
|
225
|
-
minColumnWidth:
|
|
476
|
+
minColumnWidth: {
|
|
477
|
+
defaultValue<T = unknown>(arg: T): {
|
|
478
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
479
|
+
};
|
|
480
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
481
|
+
};
|
|
226
482
|
/** Whether to show a loader instead of the rows or not */
|
|
227
|
-
showRowsLoader:
|
|
483
|
+
showRowsLoader: {
|
|
484
|
+
defaultValue<T = unknown>(arg: T): {
|
|
485
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
486
|
+
};
|
|
487
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
488
|
+
};
|
|
228
489
|
/** When a user selects a row, that row get highlighted */
|
|
229
|
-
showSelectHighlight:
|
|
490
|
+
showSelectHighlight: {
|
|
491
|
+
defaultValue<T = unknown>(arg: T): {
|
|
492
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
493
|
+
};
|
|
494
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
495
|
+
};
|
|
230
496
|
/** Whether to show the select column when the selection feature is active */
|
|
231
|
-
showSelectColumn:
|
|
497
|
+
showSelectColumn: {
|
|
498
|
+
defaultValue<T = unknown>(arg: T): {
|
|
499
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
500
|
+
};
|
|
501
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
502
|
+
};
|
|
232
503
|
/** Activates sortable feature to selection column */
|
|
233
|
-
selectColumnSortable:
|
|
504
|
+
selectColumnSortable: {
|
|
505
|
+
defaultValue<T = unknown>(arg: T): {
|
|
506
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
507
|
+
};
|
|
508
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
509
|
+
};
|
|
234
510
|
/** Activates filterable feature to selection column */
|
|
235
|
-
selectColumnFilterable:
|
|
511
|
+
selectColumnFilterable: {
|
|
512
|
+
defaultValue<T = unknown>(arg: T): {
|
|
513
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
514
|
+
};
|
|
515
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
516
|
+
};
|
|
236
517
|
/** Define the definition for the selection column */
|
|
237
|
-
selectionColumnDefinition:
|
|
518
|
+
selectionColumnDefinition: {
|
|
519
|
+
defaultValue<T = unknown>(arg: T): {
|
|
520
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
521
|
+
};
|
|
522
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
523
|
+
};
|
|
238
524
|
/** Function that returns a toolbar to show when the user hovers the row */
|
|
239
|
-
renderToolbar:
|
|
525
|
+
renderToolbar: {
|
|
526
|
+
defaultValue<T = unknown>(arg: T): {
|
|
527
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
528
|
+
};
|
|
529
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
530
|
+
};
|
|
240
531
|
/** Timeout to close the toolbar */
|
|
241
|
-
toolbarDelayClose:
|
|
532
|
+
toolbarDelayClose: {
|
|
533
|
+
defaultValue<T = unknown>(arg: T): {
|
|
534
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
535
|
+
};
|
|
536
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
537
|
+
};
|
|
242
538
|
/** Function that returns a toolbar in the FilterBar component */
|
|
243
|
-
renderFilterToolbar:
|
|
539
|
+
renderFilterToolbar: {
|
|
540
|
+
defaultValue<T = unknown>(arg: T): {
|
|
541
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
542
|
+
};
|
|
543
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
544
|
+
};
|
|
244
545
|
/** Custom component for the selection */
|
|
245
|
-
multiSelectComponent:
|
|
546
|
+
multiSelectComponent: {
|
|
547
|
+
defaultValue<T = unknown>(arg: T): {
|
|
548
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
549
|
+
};
|
|
550
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
551
|
+
};
|
|
246
552
|
/** Normalize the keys of the data received and the columns */
|
|
247
|
-
normalizeDataKeys:
|
|
553
|
+
normalizeDataKeys: {
|
|
554
|
+
defaultValue<T = unknown>(arg: T): {
|
|
555
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
556
|
+
};
|
|
557
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
558
|
+
};
|
|
248
559
|
/** Function that returns an Element when there are no rows */
|
|
249
|
-
noResultsRender:
|
|
560
|
+
noResultsRender: {
|
|
561
|
+
defaultValue<T = unknown>(arg: T): {
|
|
562
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
563
|
+
};
|
|
564
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
565
|
+
};
|
|
250
566
|
/** The height of the DataGrid will expand to its container */
|
|
251
|
-
fluidHeight:
|
|
567
|
+
fluidHeight: {
|
|
568
|
+
defaultValue<T = unknown>(arg: T): {
|
|
569
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
570
|
+
};
|
|
571
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
572
|
+
};
|
|
252
573
|
/** @deprecated */
|
|
253
574
|
customHandlers: any;
|
|
254
575
|
/** Handler when user closes the filter menu */
|
|
255
|
-
onFilterMenuClose:
|
|
576
|
+
onFilterMenuClose: {
|
|
577
|
+
defaultValue<T = unknown>(arg: T): {
|
|
578
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
579
|
+
};
|
|
580
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
581
|
+
};
|
|
256
582
|
/** Handler when user opens the filter menu */
|
|
257
|
-
onFilterMenuOpen:
|
|
583
|
+
onFilterMenuOpen: {
|
|
584
|
+
defaultValue<T = unknown>(arg: T): {
|
|
585
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
586
|
+
};
|
|
587
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
588
|
+
};
|
|
258
589
|
/** Handler when user drags a row */
|
|
259
|
-
onReorder:
|
|
590
|
+
onReorder: {
|
|
591
|
+
defaultValue<T = unknown>(arg: T): {
|
|
592
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
593
|
+
};
|
|
594
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
595
|
+
};
|
|
260
596
|
/** Handler when user stops dragging a row */
|
|
261
|
-
onMoveRowEnd:
|
|
597
|
+
onMoveRowEnd: {
|
|
598
|
+
defaultValue<T = unknown>(arg: T): {
|
|
599
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
600
|
+
};
|
|
601
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
602
|
+
};
|
|
262
603
|
/** Handler when user starts dragging a row */
|
|
263
|
-
onMoveRowStart:
|
|
604
|
+
onMoveRowStart: {
|
|
605
|
+
defaultValue<T = unknown>(arg: T): {
|
|
606
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
607
|
+
};
|
|
608
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
609
|
+
};
|
|
264
610
|
/** Handler when user has resized a column */
|
|
265
|
-
onColumnResize:
|
|
611
|
+
onColumnResize: {
|
|
612
|
+
defaultValue<T = unknown>(arg: T): {
|
|
613
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
614
|
+
};
|
|
615
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
616
|
+
};
|
|
266
617
|
/** Handler when user filters by a column */
|
|
267
|
-
onFilter:
|
|
618
|
+
onFilter: {
|
|
619
|
+
defaultValue<T = unknown>(arg: T): {
|
|
620
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
621
|
+
};
|
|
622
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
623
|
+
};
|
|
268
624
|
/** Handler when user sorts by a column */
|
|
269
|
-
onSort:
|
|
625
|
+
onSort: {
|
|
626
|
+
defaultValue<T = unknown>(arg: T): {
|
|
627
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
628
|
+
};
|
|
629
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
630
|
+
};
|
|
270
631
|
/** Handler when user has edited a cell row */
|
|
271
|
-
onColumnRowEdited:
|
|
632
|
+
onColumnRowEdited: {
|
|
633
|
+
defaultValue<T = unknown>(arg: T): {
|
|
634
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
635
|
+
};
|
|
636
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
637
|
+
};
|
|
272
638
|
/** Handler when user activates the cell row editing functionality */
|
|
273
|
-
onColumnRowEdit:
|
|
639
|
+
onColumnRowEdit: {
|
|
640
|
+
defaultValue<T = unknown>(arg: T): {
|
|
641
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
642
|
+
};
|
|
643
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
644
|
+
};
|
|
274
645
|
/** Handler when user selects a row */
|
|
275
|
-
onSelectRow:
|
|
646
|
+
onSelectRow: {
|
|
647
|
+
defaultValue<T = unknown>(arg: T): {
|
|
648
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
649
|
+
};
|
|
650
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
651
|
+
};
|
|
276
652
|
/** Handler when user checks the selection header controller */
|
|
277
|
-
onSelectAll:
|
|
653
|
+
onSelectAll: {
|
|
654
|
+
defaultValue<T = unknown>(arg: T): {
|
|
655
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
656
|
+
};
|
|
657
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
658
|
+
};
|
|
278
659
|
/** Handler to get more data when infinite scroll is activated */
|
|
279
|
-
getData:
|
|
660
|
+
getData: {
|
|
661
|
+
defaultValue<T = unknown>(arg: T): {
|
|
662
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
663
|
+
};
|
|
664
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
665
|
+
};
|
|
280
666
|
/** Handler to get more data when infinite scroll is activated without side-effect */
|
|
281
|
-
onInfiniteScrolling:
|
|
667
|
+
onInfiniteScrolling: {
|
|
668
|
+
defaultValue<T = unknown>(arg: T): {
|
|
669
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
670
|
+
};
|
|
671
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
672
|
+
};
|
|
282
673
|
/** Flag to override empty sort when data is from server */
|
|
283
|
-
serverSideData:
|
|
674
|
+
serverSideData: {
|
|
675
|
+
defaultValue<T = unknown>(arg: T): {
|
|
676
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
677
|
+
};
|
|
678
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
679
|
+
};
|
|
284
680
|
/** Flag to force virtualization. Not used */
|
|
285
|
-
virtualized:
|
|
681
|
+
virtualized: {
|
|
682
|
+
defaultValue<T = unknown>(arg: T): {
|
|
683
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
684
|
+
};
|
|
685
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
686
|
+
};
|
|
286
687
|
/** Number of rows visible. Not used */
|
|
287
|
-
numRowsVisible:
|
|
688
|
+
numRowsVisible: {
|
|
689
|
+
defaultValue<T = unknown>(arg: T): {
|
|
690
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
691
|
+
};
|
|
692
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
693
|
+
};
|
|
288
694
|
/** Callback to check if column is editable */
|
|
289
|
-
isColumnEditable:
|
|
695
|
+
isColumnEditable: {
|
|
696
|
+
defaultValue<T = unknown>(arg: T): {
|
|
697
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
698
|
+
};
|
|
699
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
700
|
+
};
|
|
290
701
|
/** Flag for groupedRows */
|
|
291
|
-
groupedRows:
|
|
702
|
+
groupedRows: {
|
|
703
|
+
defaultValue<T = unknown>(arg: T): {
|
|
704
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
705
|
+
};
|
|
706
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
707
|
+
};
|
|
292
708
|
/** Header for grouped rows */
|
|
293
|
-
groupedRowsRenderHeader:
|
|
709
|
+
groupedRowsRenderHeader: {
|
|
710
|
+
defaultValue<T = unknown>(arg: T): {
|
|
711
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
712
|
+
};
|
|
713
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
714
|
+
};
|
|
294
715
|
/** Once activated will disable the internal logic for sorting */
|
|
295
|
-
isDataSorted:
|
|
716
|
+
isDataSorted: {
|
|
717
|
+
defaultValue<T = unknown>(arg: T): {
|
|
718
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
719
|
+
};
|
|
720
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
721
|
+
};
|
|
296
722
|
/** Once activated will disable the internal logic for filtering */
|
|
297
|
-
isDataFiltered:
|
|
723
|
+
isDataFiltered: {
|
|
724
|
+
defaultValue<T = unknown>(arg: T): {
|
|
725
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
726
|
+
};
|
|
727
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
728
|
+
};
|
|
298
729
|
/** Change row size */
|
|
299
|
-
rowSize:
|
|
730
|
+
rowSize: {
|
|
731
|
+
defaultValue<T = unknown>(arg: T): {
|
|
732
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
733
|
+
};
|
|
734
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
735
|
+
};
|
|
300
736
|
/** Whether to wrap the text of the data grid or not */
|
|
301
|
-
wrapText:
|
|
737
|
+
wrapText: {
|
|
738
|
+
defaultValue<T = unknown>(arg: T): {
|
|
739
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
740
|
+
};
|
|
741
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
742
|
+
};
|
|
302
743
|
/** Element to render expanded details */
|
|
303
|
-
renderExpandedDetails:
|
|
744
|
+
renderExpandedDetails: {
|
|
745
|
+
defaultValue<T = unknown>(arg: T): {
|
|
746
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
747
|
+
};
|
|
748
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
749
|
+
};
|
|
304
750
|
/** Columns to render on the details of an expanded row */
|
|
305
|
-
detailColumns:
|
|
751
|
+
detailColumns: {
|
|
752
|
+
defaultValue<T = unknown>(arg: T): {
|
|
753
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
754
|
+
};
|
|
755
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
756
|
+
};
|
|
306
757
|
/** Flag to enable the expandable feature */
|
|
307
|
-
expandable:
|
|
758
|
+
expandable: {
|
|
759
|
+
defaultValue<T = unknown>(arg: T): {
|
|
760
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
761
|
+
};
|
|
762
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
763
|
+
};
|
|
308
764
|
/** Callback to get the row children */
|
|
309
|
-
getChildrenRows:
|
|
765
|
+
getChildrenRows: {
|
|
766
|
+
defaultValue<T = unknown>(arg: T): {
|
|
767
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
768
|
+
};
|
|
769
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
770
|
+
};
|
|
310
771
|
/** Number of rows visible on the details of an expanded row */
|
|
311
|
-
expandableSubrowsVisible:
|
|
772
|
+
expandableSubrowsVisible: {
|
|
773
|
+
defaultValue<T = unknown>(arg: T): {
|
|
774
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
775
|
+
};
|
|
776
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
777
|
+
};
|
|
312
778
|
/** Element to render inside expanded row */
|
|
313
|
-
renderRowDetails:
|
|
779
|
+
renderRowDetails: {
|
|
780
|
+
defaultValue<T = unknown>(arg: T): {
|
|
781
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
782
|
+
};
|
|
783
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
784
|
+
};
|
|
314
785
|
/** Callback to get the expanded row size */
|
|
315
|
-
getExpandedRowSize:
|
|
786
|
+
getExpandedRowSize: {
|
|
787
|
+
defaultValue<T = unknown>(arg: T): {
|
|
788
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
789
|
+
};
|
|
790
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
791
|
+
};
|
|
316
792
|
/** Callback to get the expanded row minimum size */
|
|
317
|
-
getExpandedRowMinSize:
|
|
793
|
+
getExpandedRowMinSize: {
|
|
794
|
+
defaultValue<T = unknown>(arg: T): {
|
|
795
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
796
|
+
};
|
|
797
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
798
|
+
};
|
|
318
799
|
/** Change expanded/details rows size */
|
|
319
|
-
subRowSize:
|
|
800
|
+
subRowSize: {
|
|
801
|
+
defaultValue<T = unknown>(arg: T): {
|
|
802
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
803
|
+
};
|
|
804
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
805
|
+
};
|
|
320
806
|
/** Bind the column size to another grid instance */
|
|
321
|
-
bindColumnsSizeTo:
|
|
807
|
+
bindColumnsSizeTo: {
|
|
808
|
+
defaultValue<T = unknown>(arg: T): {
|
|
809
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
810
|
+
};
|
|
811
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
812
|
+
};
|
|
322
813
|
/** Bind the row size to another grid instance */
|
|
323
|
-
bindRowSizeTo:
|
|
814
|
+
bindRowSizeTo: {
|
|
815
|
+
defaultValue<T = unknown>(arg: T): {
|
|
816
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
817
|
+
};
|
|
818
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
819
|
+
};
|
|
324
820
|
/** Handler when toggle show all is clicked */
|
|
325
|
-
onToggleShowAllRows:
|
|
821
|
+
onToggleShowAllRows: {
|
|
822
|
+
defaultValue<T = unknown>(arg: T): {
|
|
823
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
824
|
+
};
|
|
825
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
826
|
+
};
|
|
326
827
|
/** Expanded row state */
|
|
327
|
-
expandedRows:
|
|
828
|
+
expandedRows: {
|
|
829
|
+
defaultValue<T = unknown>(arg: T): {
|
|
830
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
831
|
+
};
|
|
832
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
833
|
+
};
|
|
328
834
|
/** Flag to enable autoheight */
|
|
329
|
-
autoHeight:
|
|
835
|
+
autoHeight: {
|
|
836
|
+
defaultValue<T = unknown>(arg: T): {
|
|
837
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
838
|
+
};
|
|
839
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
840
|
+
};
|
|
330
841
|
/** Placeholder rendered when no columns are visible */
|
|
331
|
-
noColumnsPlaceholder:
|
|
842
|
+
noColumnsPlaceholder: {
|
|
843
|
+
defaultValue<T = unknown>(arg: T): {
|
|
844
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
845
|
+
};
|
|
846
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
847
|
+
};
|
|
332
848
|
/** Plugin additional array */
|
|
333
|
-
plugins:
|
|
849
|
+
plugins: {
|
|
850
|
+
defaultValue<T = unknown>(arg: T): {
|
|
851
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
852
|
+
};
|
|
853
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
854
|
+
};
|
|
334
855
|
};
|
|
335
856
|
};
|
|
336
|
-
declare const DSDataGridsWithSchema:
|
|
857
|
+
declare const DSDataGridsWithSchema: {
|
|
858
|
+
(props?: {
|
|
859
|
+
containerProps?: {} | undefined;
|
|
860
|
+
instanceRef: any;
|
|
861
|
+
className?: string | undefined;
|
|
862
|
+
columns?: never[] | undefined;
|
|
863
|
+
rows?: never[] | undefined;
|
|
864
|
+
rowKey?: string | undefined;
|
|
865
|
+
infiniteScrolling?: boolean | undefined;
|
|
866
|
+
editable?: boolean | undefined;
|
|
867
|
+
sortable?: boolean | undefined;
|
|
868
|
+
sortEmptyLast?: boolean | undefined;
|
|
869
|
+
paginated?: boolean | undefined;
|
|
870
|
+
dragAndDropRows?: boolean | undefined;
|
|
871
|
+
selectable?: boolean | undefined;
|
|
872
|
+
resizeableColumns?: boolean | undefined;
|
|
873
|
+
searchFilters?: boolean | undefined;
|
|
874
|
+
dragAndDropColumns?: boolean | undefined;
|
|
875
|
+
useTreeData?: boolean | undefined;
|
|
876
|
+
autoScrollToId: any;
|
|
877
|
+
overscanCount?: number | undefined;
|
|
878
|
+
selectAll?: boolean | undefined;
|
|
879
|
+
selectedRows?: never[] | undefined;
|
|
880
|
+
filters?: undefined;
|
|
881
|
+
onAddFilter?: (() => null) | undefined;
|
|
882
|
+
onRemoveFilter?: (() => null) | undefined;
|
|
883
|
+
onFiltersChange?: (() => null) | undefined;
|
|
884
|
+
showFilterBar?: boolean | undefined;
|
|
885
|
+
multiSelectFilterOptions?: {
|
|
886
|
+
id: string;
|
|
887
|
+
label: string;
|
|
888
|
+
}[] | undefined;
|
|
889
|
+
multiSelectFilterLabels?: undefined;
|
|
890
|
+
multiSelectFilterLabel?: string | undefined;
|
|
891
|
+
aggregations?: {} | undefined;
|
|
892
|
+
groupingColumn?: undefined;
|
|
893
|
+
sortingColumns?: {} | undefined;
|
|
894
|
+
minPerPage?: number | undefined;
|
|
895
|
+
maxPerPage?: number | undefined;
|
|
896
|
+
onPerPageChange?: (() => null) | undefined;
|
|
897
|
+
onPageChange?: (() => null) | undefined;
|
|
898
|
+
paginationStep?: number | undefined;
|
|
899
|
+
pagination?: {
|
|
900
|
+
page: number;
|
|
901
|
+
perPage: number;
|
|
902
|
+
} | undefined;
|
|
903
|
+
showHeader?: boolean | undefined;
|
|
904
|
+
fixedHeader?: boolean | undefined;
|
|
905
|
+
wrapText?: boolean | undefined;
|
|
906
|
+
height?: undefined;
|
|
907
|
+
minColumnWidth?: number | undefined;
|
|
908
|
+
showRowsLoader?: boolean | undefined;
|
|
909
|
+
visibleColumns?: undefined;
|
|
910
|
+
showSelectHighlight?: boolean | undefined;
|
|
911
|
+
showSelectColumn?: boolean | undefined;
|
|
912
|
+
selectColumnSortable?: boolean | undefined;
|
|
913
|
+
selectColumnFilterable?: boolean | undefined;
|
|
914
|
+
selectionColumnDefinition?: {} | undefined;
|
|
915
|
+
filterBarOptions?: undefined;
|
|
916
|
+
renderToolbar?: undefined;
|
|
917
|
+
toolbarDelayClose?: number | undefined;
|
|
918
|
+
renderFilterToolbar?: undefined;
|
|
919
|
+
multiSelectComponent?: undefined;
|
|
920
|
+
noResultsRender: any;
|
|
921
|
+
noResultsPlaceholder: any;
|
|
922
|
+
fluidHeight?: boolean | undefined;
|
|
923
|
+
customHandlers?: {} | undefined;
|
|
924
|
+
groupedBy?: undefined;
|
|
925
|
+
onDefaultFiltersLoad?: (() => null) | undefined;
|
|
926
|
+
onReorder?: (() => null) | undefined;
|
|
927
|
+
onMoveRowEnd?: (() => null) | undefined;
|
|
928
|
+
onMoveRowStart?: (() => null) | undefined;
|
|
929
|
+
onMoveColumnOver?: (() => null) | undefined;
|
|
930
|
+
onMoveColumnStart?: (() => null) | undefined;
|
|
931
|
+
onMoveColumnEnd?: (() => null) | undefined;
|
|
932
|
+
onColumnResize?: (() => null) | undefined;
|
|
933
|
+
onExpandChange?: (() => null) | undefined;
|
|
934
|
+
onToggleExpand?: (() => null) | undefined;
|
|
935
|
+
onExpandRow?: (() => null) | undefined;
|
|
936
|
+
onFilter?: (() => null) | undefined;
|
|
937
|
+
onSort?: (() => null) | undefined;
|
|
938
|
+
onColumnRowEdited?: (() => null) | undefined;
|
|
939
|
+
onColumnRowEdit?: (() => null) | undefined;
|
|
940
|
+
onSelectRow?: (() => null) | undefined;
|
|
941
|
+
onSelectAll?: (() => null) | undefined;
|
|
942
|
+
onInfiniteScrolling?: (() => null) | undefined;
|
|
943
|
+
onFilterMenuClose?: (() => null) | undefined;
|
|
944
|
+
onFilterMenuOpen?: (() => null) | undefined;
|
|
945
|
+
getData?: undefined;
|
|
946
|
+
serverSideData?: boolean | undefined;
|
|
947
|
+
isDataSorted?: boolean | undefined;
|
|
948
|
+
isDataFiltered?: boolean | undefined;
|
|
949
|
+
virtualized?: boolean | undefined;
|
|
950
|
+
numRowsVisible?: undefined;
|
|
951
|
+
isColumnEditable?: ((column: any) => any) | undefined;
|
|
952
|
+
groupedRows?: boolean | undefined;
|
|
953
|
+
groupedRowsRenderHeader?: undefined;
|
|
954
|
+
renderExpandedDetails?: (() => null) | undefined;
|
|
955
|
+
detailColumns: any;
|
|
956
|
+
expandable?: boolean | undefined;
|
|
957
|
+
getChildrenRows?: ((row: any) => any) | undefined;
|
|
958
|
+
expandableSubrowsVisible?: number | undefined;
|
|
959
|
+
renderRowDetails?: (() => null) | undefined;
|
|
960
|
+
getExpandedRowSize?: undefined;
|
|
961
|
+
getExpandedRowMinSize: any;
|
|
962
|
+
rowSize?: string | undefined;
|
|
963
|
+
subRowSize?: string | undefined;
|
|
964
|
+
bindColumnsSizeTo?: undefined;
|
|
965
|
+
bindRowSizeTo?: undefined;
|
|
966
|
+
onToggleShowAllRows: any;
|
|
967
|
+
expandedRows: any;
|
|
968
|
+
autoHeight?: boolean | undefined;
|
|
969
|
+
noColumnsPlaceholder: any;
|
|
970
|
+
plugins?: never[] | undefined;
|
|
971
|
+
normalizeDataKeys?: boolean | undefined;
|
|
972
|
+
} | undefined): JSX.Element;
|
|
973
|
+
propTypes: unknown;
|
|
974
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
975
|
+
};
|
|
337
976
|
export { DSDataGridsWithSchema };
|
|
338
977
|
export default DSDataGrids;
|