Skip to content

Adjust DataTable scrollHeight attribute within the window resize event handler #95

Closed Answered by melloware
manuelpoelzl asked this question in PrimeReact
Discussion options

You must be logged in to vote

Can't you change this to a useState hook so it rerenders on change?

{(window.innerHeight-290).toString()+"px"}}

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@manuelpoelzl
Comment options

@melloware
Comment options

@manuelpoelzl
Comment options

@melloware
Comment options

@manuelpoelzl
Comment options

Answer selected by manuelpoelzl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Extra attention is needed
2 participants