Skip to content

Instantly share code, notes, and snippets.

@kcarriedo
Created August 15, 2010 15:33
Show Gist options
  • Select an option

  • Save kcarriedo/525615 to your computer and use it in GitHub Desktop.

Select an option

Save kcarriedo/525615 to your computer and use it in GitHub Desktop.
contentView: SC.ListView.design({
contentBinding: 'Todos.tasksController.arrangedObjects',
selectionBinding: 'Todos.tasksController.selection',
contentValueKey: "description",
contentCheckboxKey: "isDone",
rowHeight: 21,
canEditContent: YES,
canDeleteContent: YES,
target: "Todos.tasksController",
action: "toggleDone"
})
}),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment