Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4084 Widoki

How can I communicate between multiple widgets? I have 2 widgets on the same page, and when clicking on one of the first widget button, I need to modify the content of the second widget.

Details: I extend FieldMany2One (selectbox) and ListView. What I need is, when select an option in FieldMany2One, I need to update content in ListView. What I need is to get an instantiated widget into another widget. In method reinit_value of FieldMany2One widget, I need to get instance of the ListView.

Can anyone help me?

Best regards, Pedro

Awatar
Odrzuć

It's not clear, could you provide the code you are using as example?

Powiązane posty Odpowiedzi Widoki Czynność
1
lip 24
2278
1
lip 23
4678
0
mar 24
3419
1
wrz 22
6368
1
mar 22
6233