Add hook to fix table header to detail header

This commit is contained in:
jeffvli 2023-01-06 11:44:50 -08:00
parent 14e6b4e7d6
commit b59c86f78f
4 changed files with 48 additions and 0 deletions

View file

@ -29,6 +29,7 @@ import { FavoriteCell } from '/@/renderer/components/virtual-table/cells/favorit
export * from './table-config-dropdown';
export * from './table-pagination';
export * from './hooks/use-fixed-table-header';
const TableWrapper = styled.div`
display: flex;
@ -325,6 +326,7 @@ export const VirtualTable = forwardRef(
ref={mergedRef}
suppressMoveWhenRowDragging
suppressScrollOnNewData
headerHeight={36}
rowBuffer={30}
{...rest}
/>