Re: inMethod DataGrid initial selection

2009-10-02 Thread Swanthe Lindgren
Thank you Matej, I was just about to write a "solved" to the list. As I used different model implementations for the pre-selected row and the other rows, the equals and hashCode methods didn't match up. BTW, thanx for an excellent data grid! //Swanthe Matej Knopp wrote: Make sure that the e

Re: inMethod DataGrid initial selection

2009-10-02 Thread Matej Knopp
Make sure that the equals method on your model(s) is properly implemented. Also check equals on your entities. -Matej On Fri, Oct 2, 2009 at 1:37 PM, Swanthe Lindgren wrote: > Yes, I got that part right, thank you. But somehow the item is not > hi-lighted in my grid. > When the grid instance is

Re: inMethod DataGrid initial selection

2009-10-02 Thread Swanthe Lindgren
Yes, I got that part right, thank you. But somehow the item is not hi-lighted in my grid. When the grid instance is constructed and added to the page, the data to be shown in the grid has not yet been loaded. I know that the row i want selected is going to be there once the data is loaded and th

Re: inMethod DataGrid initial selection

2009-10-02 Thread Martin Grigorov
grid.selectItem(rowModel); El vie, 02-10-2009 a las 11:25 +0200, Swanthe Lindgren escribió: > Does anybody know how to get a row initially selected when the grid is > first drawn? > > //Swanthe > > > - > To unsubscribe, e-mail

inMethod DataGrid initial selection

2009-10-02 Thread Swanthe Lindgren
Does anybody know how to get a row initially selected when the grid is first drawn? //Swanthe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org