Ah, yes. A while back there was an org.apache.pivot.wtk.content.TableRow class. However, it was nothing more than a simple wrapper around a HashMap, so we dropped it - you can just use a HashMap instead. Using the default renderers, you can actually use any class that implements the Dictionary interface, or any JavaBean class - the bean properties translate to column names. Using a custom renderer you can use whatever you want as a table row.
You may find the Table Views section of the tutorial helpful: http://pivot.apache.org/tutorials/table-views.html On Feb 24, 2010, at 12:41 PM, Mathias Versichele wrote: > TableView please > > 2010/2/24 Greg Brown <[email protected]> > TablePane.Row is used in conjunction with TablePane. It is similar to an HTML > table. TableViews are data-driven components that are backed by an instance > of org.apache.pivot.collections.List. TableView is similar to a Swing JTable. > Are you looking for a TablePane or a TableView example? > > On Feb 24, 2010, at 12:34 PM, Mathias Versichele wrote: > > > Could somebody post a helloWorld type example of adding a row with contents > > to a tableview object ? I used to do this with the TableRow class, but it > > seems to have become obsolete... > > > > -- > > Mathias Versichele > > Bio-ir milieutechnologie / Msc. geografie > > Oudburgstraat 16 > > 9240 Zele > > 0485/16.07.08 > > > > > -- > Mathias Versichele > Bio-ir milieutechnologie / Msc. geografie > Oudburgstraat 16 > 9240 Zele > 0485/16.07.08
