Settings
ColumnBorderMode, GridFooterConfig, GridHeaderConfig, GridHeaderMenuConfig and 4 more: generated from the source of active-grid.
Exported by @workspace/. Generated from the package source; part of the index of every export.
Functions, hooks and constants#
Internal. Normalize show (boolean | string) to a Column. Used internally by the grid layout; exported for theme/preset authors.
(value: boolean | "none" | "partial" | "full" | undefined) => ColumnBorderModeTypes#
type ColumnBorderMode = 'none' | 'partial' | 'full';Configuration for the Grid Header.
interface GridHeaderConfig {
filterRowClassName?: string;
menuPosition?: 'left' | 'right';
showMenuOnHover?: boolean;
showFilterIcon?: boolean;
showColumnSeparators?: boolean;
}Configuration for the Pagination Bar.
interface GridPaginationStyleConfig {
containerClassName?: string;
}interface GridSettings<TData = DefaultRowData> {
rowHeight?: number;
headerHeight?: number;
groupHeaderHeight?: number;
filterBarHeight?: number;
showFilterRow?: boolean;
paginationHeight?: number;
stripedRows?: boolean;
stripeClassName?: string;
showColumnBorders?: boolean | 'none' | 'partial' | 'full';
autoSizeMaxBodyWidth?: number;
disableHoverEffect?: boolean;
noDataMessage?: string;
noDataOverlay?: React.ReactNode;
rowClassRules?: Record<string, (data: TData) => boolean>;
footer?: GridFooterConfig;
header?: GridHeaderConfig;
pagination?: GridPaginationStyleConfig;
}