setSelectedRows hides the top row under the header bar
I am trying to make it so that when the grid opens, the user is faced with the focus set on the grid and the first row highlighted so that if they simply press return it goes into an edit screen for that row.
This is finally (after endless experiments) working except that when the grid opens, the top row looks as if it scrolls up under the header bar. There is no scroll bar so you cant get it down to see it (because the grid is longer than the number of records displayed), unless you sort one of the columns. If you just press return you do go into the edit screen of the correct row, so it seems to be working.
I'm using obj.setSelectedRows() to do this.
Monday, September 4, 2006
Yes, unfortunately there is a bug in 2.0.1 which triggers this behavior -