Skip to content

Instantly share code, notes, and snippets.

@ynniv
Forked from hojberg/gist:128303
Created June 11, 2009 23:21
Show Gist options
  • Save ynniv/128304 to your computer and use it in GitHub Desktop.
Save ynniv/128304 to your computer and use it in GitHub Desktop.
/* in MyListItemView.js */
MyListItemView = SC.ListItemView.design({
});
/* */
kasesView: SC.ScrollView.design({
hasHorizontalScroller: NO,
classNames: "kasesView",
layout: { top: 60, bottom: 0, left: 0, right: 0 },
contentView: SC.ListView.design({
exampleView: 'MyListItemView',
contentBinding: 'Pitcrew.kasesController.arrangedObjects',
selectionBinding: 'Pitcrew.kasesController.selection',
classNames: 'kaseItem',
contentValueKey: "subject"
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment