since html parse tr then td,
using <cdk-virtual-scroll-viewport>
breaks the view is there any cdkVirtualScrollViewport as directive for <tbody>
?
<tbody>
<cdk-virtual-scroll-viewport style="height: 500px; width: 100%;" itemSize="100"
<tr [hidden]="data.get_user.name.toLowerCase().indexOf(pupilFilter.name.toLowerCase()) < 0 || (pupilFilter.classValue != '0' && data.get_class.value != pupilFilter.classValue)" appMarkClicked="" *cdkVirtualFor="let data of top.data.branch.get_users_as_pupil; let i = index" >
<td>{{i + 1}}</td>
</tr>
</cdk-virtual-scroll-viewport>
</tbody>
well, i can put the <cdk-virtual-scroll-viewport
before <table>
<cdk-virtual-scroll-viewport>
<table>
</table>
</cdk-virtual-scroll-viewport>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With