Created
November 16, 2010 15:59
-
-
Save linusthe3rd/701969 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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