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

[Bug]: renderer function execution time? #10864

Closed
zhongguodong opened this issue Mar 22, 2024 · 2 comments
Closed

[Bug]: renderer function execution time? #10864

zhongguodong opened this issue Mar 22, 2024 · 2 comments

Comments

@zhongguodong
Copy link

Describe the bug

I simply show the data row by column, the renderer function was executed 5 times at the beginning of loading, I modified the cell data, and executed 3 times, what is the principle of this?
image

Video/Screenshots

No response

Provide a link to the demo with the bug reproduction

https://jsfiddle.net/zhongguodong/5fL2yxba/111/

Handsontable version

14.2

Framework version

No response

Your environment

windows 10 and Google Chrome

@AMBudnik
Copy link
Contributor

Hi @zhongguodong

Attaching a cell renderer causes more rendering cycles. Here https://jsfiddle.net/qcgej4y2/ we have added the afterRender (who table hook) and afterRenderer (cell hook) to show how it works without the custom cell renderer.

Plus, each time when you select a cell or table has to rerender to draw the selection. The same goes with the cell editor.

@adrianszymanski89
Copy link
Contributor

Issue closed due to inactivity.

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

No branches or pull requests

3 participants