Blueprint Interface doesn't triggered in other Widget Blueprint

Hello.
I have two blueprint widgets. One is called WD_PlayerList and the other WD_InventoryRow_Template. In WD_PlayerList there is an inventory “table” where templates are dynamically added.

When you click on the button with a cross row should be deleted. The button itself is in template.

I need the button to trigger the delete function in WD_PlayerList
Player List Graph
(now there Print String but this is for test) and for this I’m using Blueprint Interface.
This button graph

Blueprint Interface(named WD_Test) graph

When using Blueprint Interface, the “Event Test Call” doesn’t work.
I set WD_PlayerList - Class Settings - Implemented interfaces - Add - WD_Test.
I tried set WD_InventoryRow_Template - Class Settings - Implemented interfaces - Add - WD_Test but it doesn’t work.

Where is the mistake? Why “Event Test Call” doesn’t work?

Try

image

Thanks for your reply. Unfortunately it didn’t work.

No it doesn’t, eh? :smiley:

It’s expecting to be a panel widget

image

Anyway the usual way is with dispatchers, you can have one in the child

and bind to it from the parent

Or the other way around, depending on what you’re doing…

Or, you can pass a reference to the parent into the child when you create it. Then in the parent

and in the child

That works with an interface.

Hey Belketh,

I think the problem could be the target you selected but everything else looks fine.

So in your child make sure that the target you selected is matching the parent constructed. Not sure but the selected target could be something else on your scripts. That could be the offender.

Also in interface I generally have a return node too

However besides all this I don’t see any reasoning to have an interface for this. Since this is a child you know the parent.
OnClick remove for parent would be a more convinient solution? Pardon me if I am over suggesting.

Thanks everyone for the answers. I tried the options you wrote. Nothing works. I don’t understand why it doesn’t work at all. Maybe this is because there are a lot of hierarchical elements in widgets?

Since I couldn’t do what was suggested, I did it differently and the question is no longer relevant.
Thanks all for answers :slightly_smiling_face: