Created
March 29, 2010 16:38
-
-
Save rebo/348068 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// setting up the binding for my table here, this works ok: | |
contentBinding: 'Training.operativesController.arrangedObjects', | |
selectionBinding: 'Training.operativesController.selection', | |
// then trying to access the selection in the console gets this: | |
Training.operativesController.selection.get('firstObject') | |
TypeError: Result of expression 'Training.operativesController.selection.get' [undefined] is not a function. | |
// Just the selection outputs this: | |
Training.operativesController.selection | |
function (key, value) { | |
var old = this._scsel_selection, | |
oldlen = old ? old.get('length') : 0, | |
content, empty, len; | |
// whenever we have to recompute select......... | |
.... | |
.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment