[AC-3203] Ability to dynamically set the Model instance for data binding in a View
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-02-07T01:17:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy |
Labels | n/a |
Reporter | Joe Beuckman |
Assignee | Mostafizur Rahman |
Created | 2013-01-16T11:35:41.000+0000 |
Updated | 2016-03-08T07:57:36.000+0000 |
Description
My use case: A TableView is bound to a collection. I need to handle the click event, find the model that corresponds to the clicked row, and pass that model to a detail view where it's attributes will be bound in markup to a series of fields.
This isn't a bug or feature, this is doable now. If you want details on how to do it, asking in the [Q&A](http://developer.appcelerator.com/questions/newest) or the [Alloy Google Group](https://groups.google.com/forum/?fromgroups#!forum/appc-ti-alloy)