onCellClicked gets the row model object as argument. Call model.getObject() to get the actual object.
-Matej On Fri, Sep 11, 2009 at 9:32 AM, Oliver-Sven Fritsch<o...@3blogos.com> wrote: > Hi group! > > I want to open a ModalPanel with detailed information when the user clicks > on a row in my DataGrid. To do so I override the onCellClicked method. My > problem is that I don't know how to get the rowdata. No matter which > approach I try all I see is that I can get the information for the column > which wont help in my use case. I think this is a very common task (getting > rowdata i.e. primary key or so). > > Any ideas would be really appreciated! > > Oliver > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org