(solved) animating a dynamically created qml component

I'm doing a custom table view object in C++. It's working but I'd like to improve how it's displayed. I created a component with animations attached to it. It creates the component and it displays correctly but the animations don't work.