How to destroy all dojo widget nodes

November 26, 2012

Simple and working solution.
ThisĀ  code snippet will help you to destroy all dojo widgets.

	window.widgetsDestroy = function(){
				var widget = registry.byId(;
				if(undefined !== widget){

Use it with :


Suggestions or problems ?

Write a comment.

tags: ,
posted in Dojo, how to ? by Ivan Gospodinow

Follow comments via the RSS Feed | Leave a comment | Trackback URL

1 Comment to "How to destroy all dojo widget nodes"

  1. Alexandre wrote:

    Man, you save my life!

    Thanks from brazil @ Dec / 2016

Leave Your Comment

Warning: Use of undefined constant XML - assumed 'XML' (this will throw an Error in a future version of PHP) in /home/c2kblate/sites/ on line 1048
Powered by Wordpress and MySQL. Theme by Shlomi Noach,