When I'd like to use your solution with angular's infinite-scroll, then the "load more" function is called in every millisecond.
The issue is when you clone the table with the thead tag, it clones the whole table tag, with the infinite-scroll directive, so that way the copied table will have infinite scroll also, and it will trigger the load event.
I suggest you to try to remove these tags, or a better solution try not to copy the whole table, just the classes and styles from it to a new table.
I did this manually and works like a charm, but without your solution I would be lost.
Thank you!
When I'd like to use your solution with angular's infinite-scroll, then the "load more" function is called in every millisecond.
The issue is when you clone the table with the
thead
tag, it clones the whole table tag, with theinfinite-scroll
directive, so that way the copied table will have infinite scroll also, and it will trigger the load event.I suggest you to try to remove these tags, or a better solution try not to copy the whole table, just the classes and styles from it to a new table.
I did this manually and works like a charm, but without your solution I would be lost. Thank you!