AnsweredAssumed Answered

Does anyone know how to destroy and then later recreate a widget in widgetOnScreen section AFTER the app loads?

Question asked by Josh.Dell on Dec 16, 2015
Latest reply on May 25, 2017 by WALZJC

I am building a custom widget that interacts with the Attribute Table widget.  I need to be able to destroy the Attribute Table widget and then later recreate the Attribute Table widget at some point after the user has initially loaded the application.  I have been able to successfully destroy the Attribute Table widget by calling its destroy() function, but I don't know how to recreate it. I basically need to make the Attribute Table widget completely reload just as the app does on the initial load. I have tried calling the _init(), onOpen() functions but doing so does not actually cause the Attribute Table widget to be recreated.

 

Thanks,

Josh

Outcomes