fires when cell docked to layout from window
myLayout.attachEvent("onDock", function(name){ // your code });