I would like to create a custom HTML table / list with lots of rows. I need string virtualization, but I'm not sure the best way to achieve this.
By row virtualization, I mean a concept in which the rows of the / ul / div table are not displayed and are not displayed at all until they scroll to the view. In fact, the point is to exclude rendering if the element is never displayed (behind the spiral).
Any ideas? I think that DOM elements should be added to the list as soon as they “scroll”. And then I will need to have an invisible div with the height of the full height of all the lines to make scrolling possible.
Are there any simple code examples that do this?
source
share