1 <!-- $Id: style-table.html,v 1.2 2008/06/13 00:56:19 merlinofchaos Exp $ -->
2 The
<strong>table
</strong> style will display the View results as a table; each row of the table will correspond to a row from the view result.
4 When setting the table options, each field in the view will be presented with some information next to each field:
6 <dt> <strong>Column
</strong> </dt>
7 <dd> By default, each field is its own column. However, you can place multiple fields in the same column. To do this, pick which field you want to represent the column, then pick another field and set the 'column' value to that field. You can place as many fields as you like in a single column, but only the main field in a column can be click-sorted.
</dd>
8 <dt> <strong>Separator
</strong> </dt>
9 <dd> If you have multiple fields in the same column, the separator will be placed between each one. At the very least,
&nbsp; should be used, as without the separator the fields will be placed very close to each other. Common separators are a bullet, the | symbol, and a comma. If there are no other fields in the column, the separator will have no effect.
</dd>
10 <dt> <strong>Sortable
</strong> </dt>
11 <dd> If checked, the header for the column will be clickable, and the user may re-sort the table by clicking on this to sort by that field. At this time Views does not support click-sorting to sort by multiple columns at the same time.
</dd>
12 <dt> <strong>Default sort
</strong> </dt>
13 <dd> You may select a column which will be sorted by default when the table is first viewed. This column will be highlighted to the user. You may also select whether the default sort is ascending or descending.
</dd>