For what you're saying, I believe you've got something messed up in your Bean's hashCode and equals method. Inmethod's Datagrid keeps a Set (HashSet) of IModel objects to keep track of which items are selected. If you've implemented correctly the equals method in your bean and believe that there's something wrong in the way the Datagrid keeps track of selected items, you can implement your own isItemSelected, resetSelectedItems, selectAllVisibleItems methods in a custom implementation of Datagrid or Abstractdatagrid. -- Marc Nuri
On Mon, Apr 18, 2011 at 14:19, GJT <[email protected]> wrote: > After debugging, I found out the with the hashCode method, the columns > don't > load. If I take out the hashCode method, the columns loads the data again. > But as I said, the selection doesn't work anymore. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Inmethod-Grid-Select-All-or-Reload-Grid-tp3456685p3457355.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
