mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
Add hook to fix table header to detail header
This commit is contained in:
parent
14e6b4e7d6
commit
b59c86f78f
4 changed files with 48 additions and 0 deletions
|
|
@ -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}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue