title: Updating table with Dynatable plugin
body: <p>Im trying dynatable and Im running into an issue. I not sure how to update records from different json files.</p>
  
  <p>My html body:</p>
  
  <pre><code>&lt;input type="button" value="items a" id="setToItemsA"&gt;&lt;br&gt;
  &lt;input type="button" value="items b" id="setToItemsB"&gt;&lt;br&gt;
  &lt;br&gt;&lt;br&gt;
  &lt;table id="my-final-table"&gt;
      &lt;thead&gt;
          &lt;th&gt;Band&lt;/th&gt;
          &lt;th&gt;Song&lt;/th&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>my script</p>
  
  <pre><code>$(document).ready(function() {
      var json1 = [
                    {
                      "band": "Weezer",
                      "song": "El Scorcho"
                    },
                    {
                      "band": "Chevelle",
                      "song": "Family System"
                    }
                  ];
  
      var json2 = [
                    {
                      "band": "Band1",
                      "song": "Song1"
                    },
                    {
                      "band": "Band2",
                      "song": "Song2"
                    }
                  ];
  
      $('#my-final-table').dynatable({
        dataset: {
          records: json1
        }
      });
  
      $('#setToItemsA').click(
          function() {
              setToItems(json1);
          });
      $('#setToItemsB').click(
          function() {
              setToItems(json2);
          });
  
      function setToItems (argument) {
          console.log(argument);
          $('#my-final-table').dynatable({
            dataset: {
              records: argument
            }
          });
      }
  });
  </code></pre>
  
  <p>I tried to unbind the table and redo it with the new dataset but did not work. I honestly dont know. Thanks for your help!</p>