Skip to content

Instantly share code, notes, and snippets.

@skizzybiz
Created May 12, 2011 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save skizzybiz/969503 to your computer and use it in GitHub Desktop.
Save skizzybiz/969503 to your computer and use it in GitHub Desktop.
contentView: SC.SourceListView.design({
contentBinding: 'Authoring.reportTemplatesArrayController.content',
selectionBinding: 'Authoring.reportTemplatesArrayController.selection',
exampleView: SC.View.design({
classNames: 'sc-list-item-view'.w(),
childViews: 'nameLabel'.w(),
nameLabel: SC.LabelView.design({
layout: { left: 10, width: 100, height: 18 },
valueBinding: '.parentView*content.name'
})
}),
rowHeight: 21,
canEditContent: NO,
canDeleteContent: NO
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment