title: e(...).find(...).addBack is not a function Kendo Grid SetOptions
body: <p>I have a Grid with a button that take you to other view where all the data of the item selected is show, what I'm trying to do is that when the user return to the grid view, the filters of the grid remain instead of show all the data.</p>
  
  <p>For saving the filters, I use the <code>getOptions</code> method of Kendo Grid and stored on <code>localStorage</code> using the following code:</p>
  
  <pre><code>var grid = $("#Grid").data("kendoGrid");
  var op = grid.getOptions();
  localStorage["KendoGridOptions"] = JSON.stringify(op);
  </code></pre>
  
  <p>And get this:</p>
  
  <p><a href="https://i.stack.imgur.com/aB7jB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aB7jB.png" alt="object in console"></a></p>
  
  <p>The problem is when I try to use the <code>setOptions</code> method, I do this on <code>$(document).ready</code> after initialize the grid:</p>
  
  <pre><code>var options = localStorage["KendoGridOptions"];
  if (options) {
      var op = JSON.parse(options);
      var grid = $("#Grid").data("kendoGrid");
      grid.setOptions({
          dataSource: op.dataSource
      });
      localStorage.removeItem("KendoGridOptions");
  }
  </code></pre>
  
  <p>And I get this error on the <code>gid.setOptions</code> line:</p>
  
  <p><a href="https://i.stack.imgur.com/hWrEF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hWrEF.png" alt="enter image description here"></a></p>
  
  <p>Any suggestions on how to resolve that error or how to get the desired behavior? </p>