RE: Datatables with Expandable rows

2012-08-30 Thread Paul Bors
Wicket is using the MVC design pattern, so just create an Add button/link and add something to the model (I recommend as the first object in the list). I implemented this couple of times and I use labels that turn to form fields (read/edit) toggle mode. See attached screenshots for an example :)

RE: Datatables with Expandable rows

2012-08-30 Thread schaperk
Thanks Paul for your reply. I'm not sure I am following.. I could have a button/link in each row of my table and when the user's clicks the button it would add something to the model and this would expand the row? I want to be able to click the button and see additional rows below the row I

Re: Datatables with Expandable rows

2012-08-30 Thread Martin Grigorov
Hi, On Thu, Aug 30, 2012 at 7:15 PM, schaperk karen.scha...@gmail.com wrote: Thanks Paul for your reply. I'm not sure I am following.. I could have a button/link in each row of my table and when the user's clicks the button it would add something to the model and this would expand the row?

Re: Datatables with Expandable rows

2012-08-30 Thread schaperk
Thanks for your response Martin. I've been using wicket for a while but have pretty much used the standard components. This sounds way over my head. So I would subclass the DataTable class? Are there any examples out on the internet of this? I looked but haven't found any. Just to clarify