Skip to content

Instantly share code, notes, and snippets.

@MikailCliftov
Created April 6, 2011 18:14
Show Gist options
  • Save MikailCliftov/906193 to your computer and use it in GitHub Desktop.
Save MikailCliftov/906193 to your computer and use it in GitHub Desktop.
SC.TableColumn.create({
key: 'phoneType',
label: 'Type',
exampleView: SC.SelectView,
itemsBinding: 'MyApp.telephonetypesController.arrangedObjects',
valueBinding: 'phoneType',
itemTitleKey: 'displayName'
})
The example view displays but is unpopulated.. I think its because the exampleView points to a class and not an object. Is there a way to make the SelectView show up right?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment