Urgent!! How Can I pass value from one widget to another widget and refresh the widget multiple times without loading the screen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2018 06:13 AM
Hi All,
REQUIREMENT:
Widget 1 -
Create a tree view for the location. Location table has parent child relationship in database so I am able to create the tree view.
Pass the value from widget 1 to widget 2 to perform an action in the value (e.g. create child location or rename it)
Widget 2 -
Widget2 has options to perform in location table. I am able to pass value from Widget 1 to Widget 2 and able to perform the database action
Challenge I facing - Now as per the requirement I need to pass the value from Widget 2 to Widget 1 and reflect the new changes in widget 2 without refreshing the page.
I can not perform the page as user might add one more child location in the same parent.
PLEASE LET ME KNOW IF YOU NEED MORE DETAILS.
Thanks,
KUMAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2018 06:21 AM
Hi Kumar
Once check the below link. It may help you.
Pass data from one widget to another widget
Thanks,
Harish Ragz

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2018 06:25 AM
Can you share the code?
The magic is going to happen when you use the "broadcast" and "on" with your event names. It sounds like you already have a way to send info from widget 1 to widget 2, that uses an event name of "one_to_two", for example. Widget 1 broadcasts and widget 2 reacts. You need to do the reverse with a new event "two_to_one", for example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2020 02:52 PM
Hey, check the youtube vidoe i made for pass data between 2 widgets https://www.youtube.com/watch?v=LooT596ZhtQ

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2021 04:18 AM
If you are still looking for a solution: