You CAN update fragments within a table.  You didn't show any markup, so I
don't know what specific piece you want to update - there are some
restrictions on what you can do in a table.  But, if it's just in a TD or
something, you're typically just fine.

--
Jeremy Thomerson
http://www.wickettraining.com



On Mon, May 17, 2010 at 10:41 AM, Dr. Wolf Blecher <
[email protected]> wrote:

> Hi,
>
> maybe I just get the usual response that I have to redraw the complete
> table,
> but it's worth a try.
>
> I want to implement a Drop-Down-Detail-Table, basically it is the same
> functionality as a tree-table but I don't want to show additional table
> rows,
> but extend the current table row with additional information.
>
> What I tried is to add a Fragment to my table row, where the information I
> additionally want to display is encapsulated by a WebMarkupContainer whose
> isVisible method depends on the "compressed" state of the detail
> information.
>
> On the Fragment I have a AjaxLink and three labels (one to display the link
> symbol, and two to display base information)
>
> I've overwritten the onClick Method of the Link and added the Fragment to
> the
> target.
>
> What happens when I click on the link is that the fragment gets redrawn (as
> expected) but not _inside_ the repeater but merely ontop of the repeater:
>
>
> Before Click:
> -------------
> Header BlaBla
> Table Head
> Compressed Entry 1
> Compressed Entry 2
> Footer BlaBla
>
>
> After Click:
> -------------
> Header BlaBla
> Expaneded Entry 1
> Table Head
> Compressed Entry 1
> Compressed Entry 2
> Footer BlaBla
>
>
> Does anyone has any ideas wether it is possible to update the fragment
> _inside_ the table or do I have to redraw the complete table to achieve the
> expected behaviour?
>
> Regards
>
> Wolf
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to