I added a listener to the Load event of the store to highlight the first row in the grid. *Seems to work fine except I need to do a setTimeout or else the row is selected but not visually highlighted. *If I am using a datasourceproxy, then the setTimeout is not needed. *By putting this logic in the store's load, the first row will be highlighted every time the store is reloaded. *If you want this to work only the first time the store is loaded, you can attach a listener to the grid's Render event. *
** *<ext:Store ID="store" runat="server">
** * * *<AjaxEventConfig Type="Load" ViewStateMode="Exclude">
** * * *</AjaxEventConfig>
** * * *<Reader>
** * * * * *<ext:JsonReader>
** * * * * * * *<Fields>
** * * * * * * * * *<ext:RecordField Name="LastName">
** * * * * * * * * *</ext:RecordField>
** * * * * * * * * *<ext:RecordField Name="FirstName">
** * * * * * * * * *</ext:RecordField>
** * * * * * * *</Fields>
** * * * * *</ext:JsonReader>
** * * *</Reader>
** * * *<Listeners>
** * * * * *<Load Handler="setTimeout('#{grid}.getSelectionModel().selectFirstRow();#{grid}.getView().focusRow(0);', 100)" /> * * * * * *
** * * *</Listeners>
** *</ext:Store>
Edit: vladimir is just too fast for me!