This commit is contained in:
a.bouhuolia
2021-01-23 18:57:05 +02:00

View File

@@ -176,14 +176,14 @@ function AccountsDataTable({
{ {
id: 'actions', id: 'actions',
Header: '', Header: '',
Cell: ({ cell }) => ( // Cell: ({ cell }) => (
<Popover // <Popover
content={actionMenuList(cell.row.original)} // content={actionMenuList(cell.row.original)}
position={Position.RIGHT_TOP} // position={Position.RIGHT_TOP}
> // >
<Button icon={<Icon icon="more-h-16" iconSize={16} />} /> // <Button icon={<Icon icon="more-h-16" iconSize={16} />} />
</Popover> // </Popover>
), // ),
className: 'actions', className: 'actions',
width: 50, width: 50,
}, },
@@ -229,6 +229,8 @@ function AccountsDataTable({
autoResetExpanded={false} autoResetExpanded={false}
autoResetSortBy={false} autoResetSortBy={false}
selectionColumnWidth={50} selectionColumnWidth={50}
virtualizedRows={true}
fixedSizeHeight={1000}
/> />
</div> </div>
); );