Search Locate Previous Next Contents

Table Row Titles

NewLeaf treats row titles like any other column of data. In this case, the row titles are contained in a vector of text vectors where each text vector is a product name. Simply concatenate the product names to the sales data:

leaf.Init ª leaf.Use''
leaf.table.List products,salesQ1
View doc„leaf.Close

Although the row titles are text, NewLeaf uses the same default settings for the font, line spacing, alignment and borders as are applied to the numeric data. The table itself still occupies the full width of the frame and all of the columns in the table have the same width.



Continue to: Formatting Data in a Table
© Copyright Causeway Graphical Systems Ltd 2001