Displaying Data in a Table
Dragging and Dropping a List
A table containing data from a
List can be easy added to your page by using the
Lists panel in the
Palette when in
Assemble mode. Click on the list you want to use and drag it from the palette to your page.
After dropping the list, you will see the table:
Displaying a List Using Search List and Show Data
As we saw above, the
Show Data command is used to display data contained in a
List. When dragging a
List from the palette, there are actually two commands added to your page:
Search List and
Show Data. To retrieve the data you want from a
List, you need to search the list using a
Search List command. The results from this search are displayed by
Show Data.
Advanced Information: Details of a List
Lists can also be searched and displayed using wiki markup by editing the page source. (Click on the Source tab).
The following code searches the car list from the HowTo/CreateData page for all rows, then displays them in a table.
{{SearchList id="q" query="../CreateData/car" /}}
{{ShowData id="list" data="#(q/available)" /}}