I have a table in our application that uses colspans for certain
cells.  The AbstractDataGridView (and DataGridView subclass) uses the
concept of an ICellPopulator.  This assumes that there will be m x n
table cells (m = number cols, n = number rows) since it manufactures
each cell's Item and then lets the "populator" populate it.  What I
would like to do is create a new AbstractDataGridView that maybe uses
an IItemFactory which looks something like this:


public interface IItemFactory
{
  public Item createItem(String componentId, IModel rowModel);
}

If the IItemFactory returns null, then I just don't add anything to
the current RepeatingView for that row.  Does that make sense?  Is
this the easiest way to go about what I want?

James

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to