How to destroy & rebuild a widget in WAB (DE)

712
1
10-30-2018 02:28 AM
SaraEL_MALKI
Occasional Contributor II

Hi guys,

I am working on many modules in one app, every module has its own widgets, so Once I change the module using a widget, some specific widgets should be destroyed and replaced by other widgets,

any ideas about destroy and rebuilding widgets ?

Robert Scheitlin, GISP‌ 

please tag anyone who can help me

thanks in advance

ArcGIS API for JavaScript

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

The WidgetManager class has a destroyWidget method.

0 Kudos