Search and Top Navigation
#15335 new bug ()
Opened April 15, 2019 11:28AM UTC
Last modified April 15, 2019 11:28AM UTC
Perfomance Issue when working with hidden rows
Reported by: | matschek | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.sortable | Version: | 1.12.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I stumbled upon a performance issue with JQUI sortable with a table with quite many rows and columns. The initialization time of the Widget raised to seconds after some code change.
I debugged and it seems the core issue is that the initialization ** raises up** when some table rows are **hidden**.
I made a fiddle to show it:
https://jsfiddle.net/z51kpc3L/4/
Compare the two different init times, depending on if 10 rows of the demo table are hidden or not: In this example, the init takes ~ 20ms and raises to ~30ms when 10 rows are hidden.