Skip to main content
AL_it
Associate II
September 2, 2021
Solved

How to propagate a flex button callback from a container inside another container to current view?

  • September 2, 2021
  • 2 replies
  • 924 views

I put a group of same small custom containers inside a large container. Then I added this large container to my view. How can I propagate button callback from small container to current view and also identify which small container triggers the callback?

This topic has been closed for replies.
Best answer by Alexandre RENOUX

Hello AL,

You do it like you would normally propagate a callback from a widget to the view.

The difference is that you create a callback in your container that triggers a callback in your bigger container that triggers a callback in your view and calls the callback handler.

/Alexandre

2 replies

Alexandre RENOUX
Alexandre RENOUXBest answer
Visitor II
September 6, 2021

Hello AL,

You do it like you would normally propagate a callback from a widget to the view.

The difference is that you create a callback in your container that triggers a callback in your bigger container that triggers a callback in your view and calls the callback handler.

/Alexandre

AL_it
AL_itAuthor
Associate II
September 7, 2021

Thank you.