Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-440

Ti.UI.Picker has no collection binding

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Alloy 1.5.0
    • Component/s: Models, XML
    • Labels:
    • Story Points:
      8
    • Sprint:
      2014 Sprint 14 Alloy, 2014 Sprint 17 Alloy

      Description

      original discussion

      http://developer.appcelerator.com/question/145992/databinding-on-picker

      problem

      Collection binding is not implemented for Ti.UI.Picker as it is for Ti.UI.TableView and other generic Titaniums views (View, Window, ScrollView, etc...).

      solution

      Support collection binding on Ti.UI.Picker just as it is on TableView. It will need special handling as the Ti.UI.Picker requires custom parsing for columns and rows. Something like this should be how it would work for devs:

      <Alloy>
          <Collection src="book" />
          <Window class="container">
              <Picker dataCollection="book">
                  <PickerRow title="{title}" />
              </Picker>
          </Window>
      </Alloy>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skypanther Tim Poulsen
                Reporter:
                tlukasavage Tony Lukasavage
                Reviewer:
                Feon Sua Xin Miao
                Tester:
                Federico Casali
              • Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration