OK. If you are using a Map to store your name/value pairs, another option would 
be to wrap it in a MapList and use that as the table model.

On Mar 1, 2010, at 9:22 AM, Mathias Versichele wrote:

> Thanks, but I'm using a TablePane now.
> 
> 2010/3/1 Todd Volkert <[email protected]>
> Keep in mind that that example is much more complex than it'd be if you 
> *didn't* have a column header.  If you have both a column header and a row 
> header, than this example is great.
> 
> -T
> 
> 
> On Mon, Mar 1, 2010 at 7:46 AM, Greg Brown <[email protected]> wrote:
> There is an example of this here:
> 
> http://pivot.apache.org/demos/fixed-column-table.html
> 
> Source code is here:
> 
> http://svn.apache.org/repos/asf/pivot/trunk/demos/src/org/apache/pivot/demos/tables/
> 
> On Mar 1, 2010, at 7:34 AM, Todd Volkert wrote:
> 
>> Yep - you give the ScrollPane (that contains the table view) a rowHeader 
>> instead of a columnHeader.  For the rowHeader, you can use a TableView whose 
>> data has the same number of entries as the main table data (note: you can 
>> actually use the main table data twice).
>> 
>> -T
>> 
>> On Mon, Mar 1, 2010 at 5:26 AM, Mathias Versichele 
>> <[email protected]> wrote:
>> Is it possible to have a TableView which follows a horizontal layout ? By 
>> this I mean that it uses a header column instead of a header row. This seems 
>> more suited to a table showing property-value mappings, which I need in my 
>> application.
>> 
>> -- 
>> 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

Reply via email to