Reputation: 8547
I need to bind a property to the first element of an arraycontroller Something like that:
firstEltBinding: 'myArrayController.elementAt(0)'
How to do that ?
Upvotes: 1
Views: 154
Reputation: 28703
You can do:
firstElementBinding: 'myArrayController.firstObject'
Upvotes: 3