Skip to content

Instantly share code, notes, and snippets.

@linusthe3rd
Created November 16, 2010 15:59
Show Gist options
  • Save linusthe3rd/701969 to your computer and use it in GitHub Desktop.
Save linusthe3rd/701969 to your computer and use it in GitHub Desktop.
(function() {
//set up your widget
dojo.declare("MyTable", dijit._Widget, {
//other widget method declarations
buildRows: function(){
dojo.forEach(users, dojo.hitch(this, function(user){
//create row
var actionButtons = new ActionButtons(); //ActionButtons now needs to be destroyed!!
actionCol.appendChild( actionButtons.domNode );
});
}
//other widget method declarations
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment