I have used TableModel but I guess it is easier to use source/columns. The source can be an array or a List of a specific object, the columns can be as simple as a comma-separated String with the names of the properties (ala OGNL) that you want to display from your object.
Regarding the minimum number of rows, wouldn't it be easier if you expanded / trimmed your List of objects to 8? I don't think there's a setting in contrib:Table to do such a thing... On 7/20/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > > > Is it possible to state the minimum number of rows for a table? I would > some tables to always render 8 rows, regardless of how many items are in > my model. > > > > Also, I am having some difficulty building my value model. I have gone > through the tutorials, and bought the book. But, what interface/class > should I be looking at to supply the table values (ie TableModel in > swing) ? I saw ITableModel, but that does't seem to be it. For now I > have been using the source binding. > > > > Thanks, > > > > Craig > > > > > > > > > > > -- Communism is man's exploitation of man. Capitalism is just the opposite. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
