In addition to a DataProvider, you can also provide a array, List, or
Object. The TableRowGroup will simply wrap that in either a
ObjectListDataProvider or ObjectArrayDataProvider. (TableRowGroup always
uses a DataProvider to access data.) You can obtain the underlying
DataProvider by calling the getTableDataProvider() of TableRowGroup.
Dan
Indu Kurup wrote:
>
> I was trying to implement a simple table using Woodstock components.
> Could anyone please tell me if it is always a requirement to have a
> TableDataProvider instance as the sourceData, isn't there a way by
> which I can simply call a collection in the tableRowGroup? I
> appreciate any help.
>
> Thanks.
>