title: Getting ID of clicked TableRow in Titanium Alloy?
body: <p>I'm new to Titanium and to Backbone. I've worked with JS frameworks before (most familiar with Knockout.js), but Backbone, and the way it works with Alloy, is taking some getting used to.</p>
  
  <p>I want to do something very simple. I have a collection bound to a TableView. All I want to do is get the data associated with a particular row when it is clicked.</p>
  
  <p>The should be trivial, but all the docs seem to assume you know how to use Alloy already!</p>
  
  <p><strong>Model</strong></p>
  
  <pre><code>exports.definition = {
      config: {
          columns: {
              subject: "text",
              convo_id: "integer",
              created: "text",
              modified: "text"
          },
  ...
  </code></pre>
  
  <p><strong>View</strong></p>
  
  <pre><code>&lt;Alloy&gt;
      &lt;Window id="convosView" title="Conversations"&gt;
          &lt;ScrollView id="convoScrollList"&gt;
              &lt;TableView id="convoList" dataCollection="convos"&gt;
                  &lt;TableViewRow onClick="rowClick"&gt;
                      &lt;View class="convoRow"&gt;
                          &lt;Label class="convoTitle" text="{subject}" /&gt;
                          &lt;Label class="convoDate" text="{created}" /&gt;
                          &lt;View class="rowArrow" /&gt;
                      &lt;/View&gt;
                  &lt;/TableViewRow&gt;
              &lt;/TableView&gt;
          &lt;/ScrollView&gt;
      &lt;/Window&gt;
  &lt;/Alloy&gt;
  </code></pre>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>var conversations = Alloy.Collections.convos;
  conversations.fetch();
  
  function rowClick(e) {
      alert(e.created);
  };    
  </code></pre>