public interface RowRenderer<T>
Grid
.
If you need better control, your renderer can also implement
RowRendererExt
.
If you need better control about generating Group
and
Groupfoot
, your renderer can also implement
GroupRendererExt
.
In addition, you could also
implement RendererCtrl
. For example, starts an transaction,
and uses it to render all rows for the same request.
ListModel
,
Listbox
,
RowRendererExt
,
GroupRendererExt
void render(Row row, T data, int index) throws java.lang.Exception
row
- the row to render the result.
Note: when this method is called, the row has no child
at all, unless you don't return
RowRendererExt.DETACH_ON_RENDER
when
RowRendererExt.getControls()
is called.data
- that is returned from ListModel.getElementAt(int)
index
- the index of the data that is currently being renderedjava.lang.Exception
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.