title: Restyling dynamically styled SlickGrid cells after Sort
body: <p>Ok, let me explain my scenario more clearly:</p>
  
  <p>When a cell is edited, it becomes 'dirty' and I style it a certain way by adding a CSS class to the cell via javascript.</p>
  
  <p>Then, if the user Sorts the grid, the styling is lost (I believe because all the rows are recreated) and I need a way to restore the styling to the appropriate cell/row after a Sort.</p>
  
  <p>What I attempted to do is add an entry into data[] called 'status' and onCellChange I loop through data[] and match the args.item.Id to appropriate entry in data[]. </p>
  
  <pre><code>grid.onCellChange.subscribe(function (e, args) {
      var done = false;
      for (var i = 0; i &lt; data.length &amp;&amp; !done; i++) {
          if (data[i].id == args.item.id) {
              data[i].status = "dirty";
              done = true;
          }
      }
  }
  </code></pre>
  
  <p>However, onSort I'm not sure how to match the sorted rows to the data array. (Since I have no args.item) I've attempted to do selector statements:
  $(".slick-row") 
  to restyle the correct cells, but I have no way to associate the rows with their entry in data[].</p>