gridview kind of gives it to you...
populateitem(item i) {
int x=i.getindex();
int y=i.findparent(item.class).getindex();
-igor
On Thu, Dec 8, 2011 at 3:28 PM, Corbin, James <[email protected]> wrote:
> I have a grid layout where I have the need to ask for the content at a
> particular grid location. For example, I have a 2x2 grid, give me the
> component that I should render in slot 2,1.
>
> I was wondering if any of the base repeaters that wicket (or
> wicket-extensions) would provide this kind of capability.
>
> The repeaters like DataTable, GridView, etc., look like they only support
> data providers that return an iterator where I would need one that says give
> me the component that I need to render at row A, column B and so on as the
> Grid is rendered.
>
> Is there such a component in Wicket or can it be accomplished using the data
> provider interfaces?
>
> Thanks,
> J.D.
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]