I have been working on a project to generate report for few weeks now, and I encountered some problem when I am opening widget from another widget programmatically.
The code I used is this,
I got this code from widget Sample folder(widget to widget communication).
I works great but when I open widgetA from widgetB programmatically, then if I open widgetB, the tab is blank.
here is the before and after screenshot of the widget.