this is tricky because datatable encapsulates a lot of this stuff so it will
probably need something exposed for this usecase. if you create a quickstart
that has a datatable, some bogus data, and some links in columns that should
trigger a refresh i can play around with it and see what needs to be done.

-igor


On 7/19/07, ChuckDeal <[EMAIL PROTECTED]> wrote:
>
>
> I searched for answers to this problem, but most responses were to repaint
> the whole table (or more specifically, the container holding the table).
>
> I am trying to make an editable grid.  In addition to that, when some cell
> contents change, other cells may need to be repainted (they might contain
> computed values based upon values of one or more other cells).  For
> performance, I don't want to repaint the entire table on each keypress,
> but
> repainting the single row won't be so bad.
>
> What could I do to repaint a single row of a DataTable?  Don't use
> DataTable?  but I think I still want a repeater and ultimatley it is the
> repeater's fault that I can't repaint because the MarkupFragmentFinder
> can't
> grab the markup because it uses the component's id to "match" up to the
> markup it finds and the id of repeater children will never match.  It
> would
> need to know that it is a repeater child and use it's parent it to match
> the
> markup.  Component.renderComponent is final and new MArkupFragmentFinder
> is
> hardcoded in there, so it doesn't look like I can create a custom
> MarkupFragmentFinder impl for this special case.
>
> Maybe I am seeing this from the wrong perspective?  Could someone suggest
> an
> alternative to this approach?  Basically, I like Datatable because it
> allows
> me to define each cell (and any number of them), but I want the ability to
> repaint only PART of the table...
>
> Thanks
> Chuck
> --
> View this message in context:
> http://www.nabble.com/Repaint-single-row-of-a-DataTable-tf4111859.html#a11691581
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to