Skip to content

Does V8 support flex-based tables? #4977

Answered by Zertz
sebpowell asked this question in Q&A
Discussion options

You must be logged in to vote

The reason useFlexLayout no longer exists is that it's not needed anymore.

I removed the hook from useTable and updated the root node for cells:

react-table@7:

<div {...cell.getCellProps({ className: "..." })}>

react-table@8:

<div key={cell.id} className="..." style={{ width: cell.column.getSize() }}>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@User6531
Comment options

Answer selected by sebpowell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants