Hi Sander,

o.k. now I get it... Thx for help

Regards,
Martin

Am Montag, 7. Januar 2019 11:38:33 UTC+1 schrieb Sander Elias:
>
> Hi Martin,
>
> Oh they do work with the cdk virtual scroll (CVS from here on). However, 
> your example has multiple items on a single "row". There is no way CVS is 
> able to determine how much space is needed. You iterate over say 100 items, 
> this results in 20 rows of 5 elements. How do you expect that CVS does that 
> calculation? To make it more complex, CVS needs to know which elements are 
> in view. 
> You can use the responsive features, but not without some scripting. Use 
> it to determine how many elements you can fit in a row, then use my helper 
> to make chunks that fit the rows, then you can use CVS to show the result.
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to