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 <tr> plus and additional TR repeater (to
be used for children). I.e
<tr wicket:id="rows" class="clickable" data-toggle="collapse" id="row1"
data-target=".row1">
<td></td>
</tr>
<tr wicket:id="addtionalRepeater class="collapse row1">
<td>- child row</td>
</tr>
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 <[email protected]> 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