Keep cell-settings while using virtualized rows #3119
Unanswered
Doedelpumpe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Table with thousands of entries so i decided to use virtualized rows to speed up loading the table.
When you click on one of the buttons the onClick-Function disables the button. I use a useEffect to disable the buttons clicked from the user before when he refreshes the page. But when you scroll through the table and move the disabled buttons out of sight and move them back into sight, the buttons are enabled again. How can i render the buttons with conditions everytime?
I always compare my problem to facebook. They have endless table with postings and like-buttons. The state of the like-button is set by condition. Any idea how they do that?
Beta Was this translation helpful? Give feedback.
All reactions