Could you please provide an example in React
leonwebdev opened this issue · 2 comments
leonwebdev commented
- Could you please provide an example how to use
floatThead
in React? Because I would like to use this package to make my table header sticky on window top, but the table only will be rendered after an axios request from backend, so I would love to ask for help how to use this package in React.
mkoryak commented
No, I can't because I don't use react. Generally speaking though, this
plugin and react will fight each other because they do not expect what the
other one is doing. I suggest that you don't try to make this work with
react unless you like to suffer.
…On Tue, Oct 3, 2023 at 3:40 PM Lihang Yao ***@***.***> wrote:
- Could you please provide an example how to use floatThead in React?
Because I would like to use this package to make my table header sticky on
window top, but the table only will be rendered after an axios request from
backend, so I would love to ask for help how to use this package in React.
—
Reply to this email directly, view it on GitHub
<#480>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC5WSNJ5EHI2ZBYJOT5T73X5RS2JAVCNFSM6AAAAAA5RPY5PWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDIOBSGIYDENI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
leonwebdev commented
Thank you for replying, additionally this plugin is amazing, I use some tricks (setTimeout) to enable this plugin and it works, but it is not a solution for a stable production. Thank you for your fabulous work anyway.