@majoo-ui/react 1.60.37 → 1.60.39
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/components/table/Table.d.ts +16 -2
- package/index.esm.js +1472 -1498
- package/index.umd.js +1508 -1532
- package/package.json +1 -1
|
@@ -1285,10 +1285,24 @@ export interface TableProps {
|
|
|
1285
1285
|
* Additional id which is not clickable and has no context menu
|
|
1286
1286
|
*/
|
|
1287
1287
|
additionalExceptionIds?: string[];
|
|
1288
|
+
/**
|
|
1289
|
+
* Additional props for set manual expanded row column
|
|
1290
|
+
* Example:<br/>
|
|
1291
|
+
* {
|
|
1292
|
+
* '8192389219289': true,
|
|
1293
|
+
* '2130912039281': true,
|
|
1294
|
+
* '2130912039382': true
|
|
1295
|
+
* }
|
|
1296
|
+
*/
|
|
1297
|
+
expanded?: object;
|
|
1288
1298
|
/**
|
|
1289
1299
|
* Callback fired when the expanded rows are updated.
|
|
1290
1300
|
*/
|
|
1291
|
-
|
|
1301
|
+
onExpandedChange?: (expanded: object) => void;
|
|
1302
|
+
/**
|
|
1303
|
+
* Additional props for autoResetExpanded
|
|
1304
|
+
*/
|
|
1305
|
+
autoResetExpanded?: boolean;
|
|
1292
1306
|
/**
|
|
1293
1307
|
* Additional id table for unique identifier each table <br />
|
|
1294
1308
|
* if id exist, column in the header can be customize to show in table <br />
|
|
@@ -1309,7 +1323,7 @@ export interface TableProps {
|
|
|
1309
1323
|
*/
|
|
1310
1324
|
additionalHeader?: React.ReactNode;
|
|
1311
1325
|
}
|
|
1312
|
-
export declare function Table({ columns, data: rawData, keyId, pageIndex: controlledPageIndex, totalPage, totalData, fetchData, hideDataInfo, rowsPerPageOptions, emptyDataMessage, customEmptyDataProps: emptyDataProps, isLoading, css, headerCss, hideHeader, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, rowGroup, decoration, hiddenColumns, columnOrder, customRowsStyle, isMobileLayout, showDuplicatedData, onRowClick, hidePagination, searchQuery, additionalExceptionIds,
|
|
1326
|
+
export declare function Table({ columns, data: rawData, keyId, pageIndex: controlledPageIndex, totalPage, totalData, fetchData, hideDataInfo, rowsPerPageOptions, emptyDataMessage, customEmptyDataProps: emptyDataProps, isLoading, css, headerCss, hideHeader, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, rowGroup, decoration, hiddenColumns, columnOrder, customRowsStyle, isMobileLayout, showDuplicatedData, onRowClick, hidePagination, searchQuery, additionalExceptionIds, expanded: controlledExpanded, onExpandedChange, id, onColumnChange, virtualized, withoutLimit, additionalHeader, outerContainerCss, autoResetExpanded, }: TableProps): JSX.Element;
|
|
1313
1327
|
export interface TableColumnProps {
|
|
1314
1328
|
/**
|
|
1315
1329
|
* Required if accessor is a function<br/>
|