I've a table
on my web application's dashboard. Rows are added to it dynamically by one of the Backbone's view. Although addition of new element is fast, scrolling lags when the number of <tr>
s exceed 100.
I had a mouseout
event binding on each <tr>
which I've got rid of now. This hasn't solved the problem though. I'm considering CSS to be the culprit now. I've nested styles defined for tbody:first-child
, tr:first-child
, td:last-child
for both, normal and hover
state, along with general styling for tbody
, tr
, td
and tbody:hover
, tr:hover
, td:hover
.
Although I very much doubt this is the reason for the lag, I'm left with no other suspect. Is it possible that CSS is adding to the slow down?