Package org.zkoss.zul
Interface RowRenderer<T>
public interface RowRenderer<T>
Identifies components that can be used as "rubber stamps" to paint
the cells in a
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.
- Author:
- tomyeh
- See Also:
-
Method Summary
-
Method Details
-
render
Renders the data to the specified row.- Parameters:
row- the row to render the result. Note: when this method is called, the row has no child at all, unless you don't returnRowRendererExt.DETACH_ON_RENDERwhenRowRendererExt.getControls()is called.data- that is returned fromListModel.getElementAt(int)index- the index of the data that is currently being rendered- Throws:
Exception
-