Class: SC.SourceListGroupView


Extends SC.CollectionGroup, SC.Control, SC.View.

Displays a group view in a source list. Handles displaying a disclosure triangle which can be used to show/hide children.

Defined in: source_list_group.js

Since:
0.9

Field Summary

Field Detail

classNames Array
Default value:
['sc-source-list-group']
See:
SC.View#classNames
content SC.Object
The content object the source list group will display.
Default value:
null
groupTitleKey String
The content property key to use as the group view's title.
Default value:
null
groupVisibleKey String

The content property key to use to determine if the group's children are visible or not.

Default value:
null
hasGroupTitle Boolean

YES if group is showing its titlebar.

Group views will typically hide their header if the content is set to null. You can also override this method to always hide the header if you want and the SourceListView will not leave room for it.

Default value:
YES
isGroupVisible Boolean

The current group visibility. Used by the source list to determine the layout size of the group.

Default value:
YES
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)