-
Notifications
You must be signed in to change notification settings - Fork 24
Update column visibility at the end of rendering the treeview [PREVIEW] #187
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
Conversation
For performance reasons it's better not to mix DOM reading and modifying especially in JS loops. PCLAS-772
|
LGTM |
…W] (#187) For performance reasons it's better not to mix DOM reading and modifying especially in JS loops. PCLAS-772
| } | ||
| if (to_show.length) { | ||
| this.tbody.find(to_show.map(make_selector).join(',')) | ||
| .removeClass('invisible').show(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Petit problème ici avec jQuery qui repasse un coup de recalculate style sur tout le DOM en itérant sur le body j'ai l'impression. J'ai cherché des solutions pour éviter ça mais no luck.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je pensais naïvement qu'en utilisant un selecteur ça ne ferait qu'une seule invalidation.
…STOM] PR: (coopengo#187) Fix #21005 Co-authored-by: Jérémy Mousset <jeremy.mousset@coopengo.com>
…W] (coopengo#187) For performance reasons it's better not to mix DOM reading and modifying especially in JS loops. PCLAS-772
…STOM] PR: (coopengo#187) Fix #21005 Co-authored-by: Jérémy Mousset <jeremy.mousset@coopengo.com>
…STOM] PR: (coopengo#187) Fix #21005 Co-authored-by: Jérémy Mousset <jeremy.mousset@coopengo.com>
…STOM] PR: (coopengo#187) Fix #21005 Co-authored-by: Jérémy Mousset <jeremy.mousset@coopengo.com>
…STOM] PR: (coopengo#187) Fix #21005 Co-authored-by: Jérémy Mousset <jeremy.mousset@coopengo.com>
For performance reasons it's better not to mix DOM reading and modifying especially in JS loops.
PCLAS-772