Twitter Feed

Xataface Maillist

Sign up to receive the Xataface news letter with weekly updates and development tips.

 
Found 1 of 138 records in table Wiki
Now Showing 1 of 1

Current Record: list:type

list:type relationships.ini file directive

[Permalink]

Return to relationships.ini file

Table of Contents

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: "treetable".

Setting

list:type=treetable
will cause the related records to be displayed as an expandable/collapsible tree table as shown here:

Prerequisites

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 meta:class directive of the relationships.ini? file to specify a relationship as a "children" relationship, or you can implement the getChildren method of the table delegate class to manually define a record's child elements.

See Also

blog comments powered by Disqus
Powered by Xataface
(c) 2005-2018 All rights reserved