Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Almost 10 years ago (2010) I built a virtual table scroller in javascript for editing spreadsheet of 100 columns by 10.000 rows in the browser.

I learned that just replacing the whole page's innerHTML by a concatinated string on each frame/mousewheel event is way faster then updating the cells content and position individually, and resuls in butter smooth scrolling.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: