I have a problem in using the code from http://www.extjs.com/forum/showthread.php?t=47119

Everything works perfectly in IE, but I get an error in FF saying record is undefined.

// Once the grid has loaded the data we need to select the first row of the workflow list

        viewready: {

            fn: function(){

				var selectionModel = grid.getSelectionModel();
				var record = selectionModel.getSelected();
				// Load the Workflow Steps based on the workflowId that is passed



Is this because FF has not finished loading everything even though it calls the viewready function?

I am using 2.2 codebase btw.