primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Table Checkbox fix #16618 cause a severe performance issue

Open AvshT opened this issue 1 year ago • 5 comments

          @mehmetcetin01140  @mertsincan @mark7p @cagataycivici @yigitfindikli @cetincakiroglu 

Hi, solving this bug causes a significant performance issue here: image The subscription is triggered multiple times with each checkbox click that cause html rendering action. To reproduce the issue, click the "Check All" checkbox and then uncheck it again.

Originally posted by @AvshT in https://github.com/primefaces/primeng/issues/16618#issuecomment-2480979667

AvshT avatar Dec 11 '24 09:12 AvshT

Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. :sparkles: Thank you for your contribution! :sparkles:

github-actions[bot] avatar Dec 11 '24 09:12 github-actions[bot]

Hi, looks like this performance issue was introduced in 17.18.12, any chance fix will be available on the 17 branch?

f2404 avatar Feb 03 '25 19:02 f2404

We are currently facing the same problem with our tables contain multiple thousand rows. Toggling the checkbox takes several seconds, even with virtual scroll enabled on the table.

gianluca-moro avatar May 01 '25 12:05 gianluca-moro

I have this issue too. I have a workaround but is a bit nasty. I don´t want to override the components. If it was something simple is ok... like I do it for other primeNG components. This one requires a bit more refactoring.

hugovlc avatar Jul 24 '25 11:07 hugovlc

We have the same issue. Large tables now unusable even when scrolling.

gemiace avatar May 19 '26 05:05 gemiace