Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog
The look of a table is controlled by the style attribute. For example:
!block table; style="rows" Name Phone Bill 123 4567 Joe 789 1234 Mary 584 3333 !endblock
The result is:
Name | Phone |
Bill | 123 4567 |
Joe | 789 1234 |
Mary | 584 3333 |
The other styles available are shown below.
Name | Phone |
Bill | 123 4567 |
Joe | 789 1234 |
Mary | 584 3333 |
Name | Phone |
Bill | 123 4567 |
Joe | 789 1234 |
Mary | 584 3333 |
Name | Phone |
Bill | 123 4567 |
Joe | 789 1234 |
Mary | 584 3333 |
Name | Phone |
Bill | 123 4567 |
Joe | 789 1234 |
Mary | 584 3333 |
The default style is columns. This can be changed via the DEFAULT_TABLE_STYLE variable. For example:
!define DEFAULT_TABLE_STYLE "grid" # the default table style is now grid ...
New table styles can be defined. See Extending SDF in the SDF Guru Guide for details.
Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog