Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4078 มุมมอง

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

อวตาร
ละทิ้ง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 24
2277
1
ก.ค. 23
4677
0
มี.ค. 24
3417
1
ก.ย. 22
6365
1
มี.ค. 22
6230