Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draw only style updates without data updates #201

Open
djbarnwal opened this issue Oct 24, 2023 · 0 comments
Open

Draw only style updates without data updates #201

djbarnwal opened this issue Oct 24, 2023 · 0 comments

Comments

@djbarnwal
Copy link

djbarnwal commented Oct 24, 2023

Support Question

Is there a way or an API to invoke only the style listeners without invoking the data listeners. The table.draw API updates both the data as well as style.

Sometimes to add more interactivity to the table (such as highlighting the column containing the cell on hover) requires recalculating the styles of the cells. Currently I achieve this by calling table.draw but this also invokes the data callback which adds an unnecessary overhead. This ends up being a laggy experience if I am hovering through multiple cells very quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant