Re: DataTable with subrows

2016-04-08 Thread Tom Götz
Thanks for the pointers Martin and Ernesto,

TreeTable looks promising, I’ll play around with that one and see how far I can 
bend it ;-)

Cheers,
   Tom


> On 08.04.2016, at 08:57, Martin Grigorov  wrote:
> 
> Hi Tom,
> 
> The closest we have is TreeTable component:
> http://examples7x.wicket.apache.org/tree/wicket/bookmarkable/org.apache.wicket.examples.tree.TableTreePage
> If this is not exactly what you need then you can create your own one by
> using GridView.
> ​



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DataTable with subrows

2016-04-07 Thread Martin Grigorov
Hi Tom,

The closest we have is TreeTable component:
http://examples7x.wicket.apache.org/tree/wicket/bookmarkable/org.apache.wicket.examples.tree.TableTreePage
If this is not exactly what you need then you can create your own one by
using GridView.
​


Re: DataTable with subrows

2016-04-07 Thread Ernesto Reinaldo Barreiro
Hi Tom,

I haven't tried this but maybe you could...

1- Make your own Item that implements IMarkupResourceStreamProvider... That
provides same markup of DataTable  plus and additional TR repeater (to
be used for children). I.e

 

 

- child row


2- Then override as in the example you mention but add your  extra repeater

Just an idea... which might not work at all

On Fri, Apr 8, 2016 at 8:12 AM, Tom Götz  wrote:

> Hi there,
>
> is there a clean way to have „subrows“ in a DataTable? I want to do
> something like that: http://www.bootply.com/GGAMvot45f <
> http://www.bootply.com/GGAMvot45f>
>
> The only solution I found yet involves writing into the output stream
> directly (as shown here: http://www.javased.com/?post=3822324 <
> http://www.javased.com/?post=3822324>). Has anybody done something like
> that already? Any pointers welcome.
>
> Cheers,
>Tom
>
>
>


-- 
Regards - Ernesto Reinaldo Barreiro


DataTable with subrows

2016-04-07 Thread Tom Götz
Hi there,

is there a clean way to have „subrows“ in a DataTable? I want to do something 
like that: http://www.bootply.com/GGAMvot45f 

The only solution I found yet involves writing into the output stream directly 
(as shown here: http://www.javased.com/?post=3822324 
). Has anybody done something like that 
already? Any pointers welcome.

Cheers,
   Tom