Hi Janek,
I agree with Riccardo that this is a very complex scenario. If you are trying to insert rows on a certain place, it’s much easier to do with array manipulation. If you are really want to insert other components based on something in the row data, your mistake is that you are using @ViewChild instead of @ViewChidren. Once you have more as 1 row you will have a multiple of #Dynamic templates. Use @ViewChildren to select the correct one. Adding the index might be a help here too. 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
