/mcp}, onCollectionAdd: function(user) { // add the newly added user to the grid if (user.getState() === 'LOGGED_IN') { // add this row to the grid } // adjusts the height each time a row is added, so that the content is fully visible in the iFrame gadgets.window.adjustHeight(); } }); Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 407 Finesse Desktop Gadget Development Setting Gadget Height—Using Gadget API