Settings Icon not showing options in the card after loop *ngFor
Hello,
I have issue with your template after I loop the records using *ngFor(angular) the setting icon not showing options like(Approve, Reject, Create payment). Please find code and screen shot and advice.
Sorry for the delay. You can try reinitializing the dropdown menu after the rendering is complete. Here's a suggested solution:
1. Import the MenuComponent class from the Metronic Angular library in your component file:
import { MenuComponent } from "app/_metronic/kt/components/MenuComponent";
2. In your component's code, after the rendering is done (for example, inside the `ngAfterViewInit` lifecycle hook or after the *ngFor loop), call the `reinitialization` method of the MenuComponent:
ngAfterViewInit() { // Call reinitialization method of MenuComponent MenuComponent.reinitialization(); }
I hope this helps! Let me know if you have any further questions.
Thank you for below solution. It doesn't works. I copied html templates into my angular project. all works good. But once I loop Settings Icon not showing options in the card. Please advice.