I've got a big table, about 500 columns, which is about 25000 pixels wide total. And it's not very good to render it all at once.
But I have zero to none ideas how to only render the part of the table that is visible on the screen, which is a section that is about 1200px wide. (On my screen, depends on other people's screens).
Here's some code
<tr ng-repeat="shift in ctrl.items">
<td ng-repeat="col in ctrl.calculateNumberOfColumns() track by $index"></td>
</tr>
Only idea I have is somehow attaching ng-if
to each td
, but that seems like a rather bad idea.
So I'm hoping someone else has any advice.