it is because populateItem is passed in the model that represents the row of the table, just like listview.
IColumn extends ICellPopulator<T> which has the populateItem that takes IModel<T> -igor On Fri, Jul 31, 2009 at 11:16 AM, Juergen Donnerstag<[email protected]> wrote: > Question please. "DataTable"s can have one or more columns. According > to the constructor each IColumn must have the same model object type. > What is the logic behind that? I would assume that each column can > have a different model object type. > > public DataTable(String id, IColumn<T>[] columns, IDataProvider<T> > dataProvider, int rowsPerPage) > > Juergen >
