@acuteinfo/common-base 1.2.29 → 1.2.31
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId, defaultColumn, allowColumnReordering, disableSorting, defaultHiddenColumns, defaultSortOrder, defaultGroupBy, multipleActions, singleActions, doubleClickAction, alwaysAvailableAction, setGridAction, updateGridData, hideFooter, hideHeader, disableGlobalFilter, disableGroupBy, disableLoader, containerHeight, occupiedHeight, gridProps, pageSizes, defaultPageSize, enablePagination, allowRowSelection, hideNoDataFound, refetchData, hiddenFlag, autoRefreshInterval, allowFilter, filterMeta, allowColumnHiding, defaultFilter, isCusrsorFocused, onButtonActionHandel, controlsAtBottom, actionContextAtBottom, headerToolbarStyle, disableMultipleRowSelect, columnHeaderStyle, variant, enablePaginationInput, defaultSelectedRowId, footerNote, footerNoteStyles, paginationText, searchPlaceholder, enableExport, subGridLabel, hideActionBar, finalMetaData, externalExportState, onExportModalClose, enablePdfPrint, reportTemplateCode, enablePivot, handleClickAction, }: {
|
|
1
|
+
export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId, defaultColumn, allowColumnReordering, disableSorting, defaultHiddenColumns, defaultSortOrder, defaultGroupBy, multipleActions, singleActions, doubleClickAction, alwaysAvailableAction, setGridAction, updateGridData, hideFooter, hideHeader, disableGlobalFilter, disableGroupBy, disableLoader, containerHeight, occupiedHeight, gridProps, pageSizes, defaultPageSize, enablePagination, allowRowSelection, hideNoDataFound, refetchData, hiddenFlag, autoRefreshInterval, allowFilter, filterMeta, allowColumnHiding, defaultFilter, isCusrsorFocused, onButtonActionHandel, controlsAtBottom, actionContextAtBottom, headerToolbarStyle, disableMultipleRowSelect, columnHeaderStyle, variant, enablePaginationInput, defaultSelectedRowId, footerNote, footerNoteStyles, paginationText, searchPlaceholder, enableExport, subGridLabel, hideActionBar, finalMetaData, externalExportState, onExportModalClose, enablePdfPrint, reportTemplateCode, enablePivot, handleClickAction, RenderSubHeader, subHeaderComponentProps, }: {
|
|
2
2
|
label: any;
|
|
3
3
|
dense: any;
|
|
4
4
|
columns: any;
|
|
@@ -61,4 +61,6 @@ export declare const DataGrid: ({ label, dense, columns, data, loading, getRowId
|
|
|
61
61
|
reportTemplateCode: any;
|
|
62
62
|
enablePivot: any;
|
|
63
63
|
handleClickAction: any;
|
|
64
|
+
RenderSubHeader: any;
|
|
65
|
+
subHeaderComponentProps: any;
|
|
64
66
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ import { CustomProperties } from "components/context/propertiesConfig/customProp
|
|
|
3
3
|
import { currencySymbol } from "components/custom/getCurrencySymbol";
|
|
4
4
|
import { ActionTypes } from "components/dataTable/types";
|
|
5
5
|
import { CellComponentType } from "components/tableCellComponents";
|
|
6
|
-
import { ReactNode } from "react";
|
|
6
|
+
import { ComponentType, ReactNode } from "react";
|
|
7
7
|
export interface GridColumnType {
|
|
8
8
|
columnName: string;
|
|
9
9
|
accessor: string;
|
|
@@ -290,6 +290,8 @@ export interface GridWrapperPropTypes {
|
|
|
290
290
|
* @default false
|
|
291
291
|
*/
|
|
292
292
|
enablePivot?: boolean;
|
|
293
|
+
RenderSubHeader?: ComponentType<any>;
|
|
294
|
+
subHeaderComponentProps?: Record<string, any>;
|
|
293
295
|
}
|
|
294
296
|
export interface GridYupSchemaMetaDataType {
|
|
295
297
|
type: "string" | "number" | "boolean" | "date";
|