<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>list:type[ Search for &quot;&quot;]</title>
        <description></description>
        <link>http://xataface.com/wiki/index.php?-action=single_record_search&amp;-table=wiki&amp;page_id=%3D128&amp;-cursor=0&amp;-skip=0&amp;-limit=30&amp;-mode=list&amp;--subsearch=</link>
        <lastBuildDate>Tue, 18 Jun 2013 21:07:44 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>list:type</title>
            <link>http://www.xataface.com/wiki/list:type</link>
            <description>&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Field&lt;/th&gt;&lt;th&gt;Value&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page name&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;list:type&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page id&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;128&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page title&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;list:type relationships.ini file directive&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Content&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;p&gt;Return to &lt;a href=&quot;/wiki/relationships.ini_file&quot;&gt;relationships.ini file&lt;/a&gt;&lt;/p&gt;

&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;&lt;tr&gt;&lt;td&gt;
&lt;div id=&quot;toc&quot;&gt;&lt;strong&gt;Table of Contents&lt;/strong&gt;
	&lt;div style=&quot;margin-left: 1em;&quot;&gt;&lt;a href=&quot;#toc0&quot;&gt;Prerequisites&lt;/a&gt;&lt;/div&gt;
	&lt;div style=&quot;margin-left: 0em;&quot;&gt;&lt;a href=&quot;#toc1&quot;&gt;See Also&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;The list:type directive allows you to override the default list that is used to display related records.  As of Xataface 1.3 there is only one possible value that will have any effect on this directive: &amp;quot;treetable&amp;quot;.&lt;/p&gt;

&lt;p&gt;Setting 
&lt;pre&gt;&lt;code&gt;list:type=treetable&lt;/code&gt;&lt;/pre&gt;

 will cause the related records to be displayed as an expandable/collapsible tree table as shown here: &lt;img src=&quot;http://media.weblite.ca/files/photos/Screen%20shot%202011-04-29%20at%2011.49.33%20AM.png?max_width=640&quot;/&gt;&lt;/p&gt;


&lt;h3 id=&quot;toc0&quot;&gt;Prerequisites&lt;/h3&gt;
&lt;p&gt;The TreeTable component needs to be able to figure out the logical children of each record in order to know what to show when a row is expanded.  You can use either the &lt;a href=&quot;/wiki/meta%3Aclass&quot;&gt;meta:class&lt;/a&gt; directive of the relationships.ini&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=relationships.ini&quot;&gt;?&lt;/a&gt; file to specify a relationship as a &amp;quot;children&amp;quot; relationship, or you can implement the &lt;a href=&quot;/wiki/getChildren&quot;&gt;getChildren&lt;/a&gt; method of the table delegate class to manually define a record's child elements.&lt;/p&gt;


&lt;h2 id=&quot;toc1&quot;&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt; &lt;a href=&quot;/wiki/getChildren&quot;&gt;getChildren&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt; &lt;a href=&quot;/wiki/meta%3Aclass&quot;&gt;meta:class&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt; getParent&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=getParent&quot;&gt;?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Language&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;en&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</description>
            <author>list:type</author>
        </item>
    </channel>
</rss>
