Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4062 Tampilan

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

Avatar
Buang

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

Post Terkait Replies Tampilan Aktivitas
1
Jul 24
2252
1
Jul 23
4668
0
Mar 24
3404
1
Sep 22
6355
1
Mar 22
6209