title: Getting the value of a cell when clicked into a Bootstrap-Table
body: <p>I would like to click on a cell in a <code>Bootstrap-Table</code> table and get the value of a specific column (the <code>Date</code> column) in that row.</p>
  
  <p>This code gets me the value index of the row, but my data is an array of <code>JSON</code>s. I don't think the index is helpful because I think the <code>array</code> is essentially considered unordered. Is there a way to use this index to get the value?</p>
  
  <pre><code> $("#table").on("click", "tr", function (row, $el, field) {
     var row = $(this).index();
     alert(row);
      });
  </code></pre>
  
  <p>the data:</p>
  
  <pre><code>var data = [
      {
          "Date": "2015-02-03",
          "Contact": 1
      },
      {
          "Date": "2017-01-22",
          "Contact": 2
  
      }
  ];
  </code></pre>
  
  <p><a href="http://jsfiddle.net/gv2mnwd9/" rel="nofollow noreferrer">http://jsfiddle.net/gv2mnwd9/</a></p>