fires immediately after a grid has been created
myFileSelector.attachEvent("onGridCreated", function(grid_obj){ // your code here });