|
|
|
|
|
by robbiejs
1690 days ago
|
|
You can change thousands of DOM nodes in an eye-blink, but not while scrolling. It's too much for the DOM to repaint/redraw itself and keep 60fps scrolling. I have managed to create the fastest Javascript Data Grid out there by not working with indivual <td> or <div> nodes for cells, but by using a neat CSS style: this only needs one dom node per COLUMN, not per cell. The downside is that the product does not support multi-line rows. Here's a performant demo of One Million Cells: https://www.datagridxl.com/demos/one-million-cells. |
|