title: How to filter kendo grid data using filter specified for computed column
body: <p>Have a look at this <strong><em><a href="http://jsfiddle.net/paritosh/3TsGB/" rel="nofollow">jsfiddle</a></em></strong></p>
  
  <p>I have a computed column (<strong>NewCol</strong> as mentioned in the below code) in the kendo grid - which has filter option enabled. The columns shows True/False based on the data of the other column.</p>
  
  <pre><code>        schema: {
              model: {
                  fields: {
                      OrderID: { type: "number" },
                      Freight: { type: "number" },
                      OrderDate: { type: "date" },
                      ShipCity: { type: "string" },
                      NewCol: {type: "string"}
                  }
              }
          }
  </code></pre>
  
  <p>The column definition in grid is,</p>
  
  <pre><code>        {
              field: "NewCol",
              title: "Computed",
              template: '#= (OrderDate &gt; new Date(1996,6,10) ) ? "False" : "True" #'
          }
  </code></pre>
  
  <p>Now, my issue is, the data are not getting filtered using that column filter i.e. True/False. If I filter with True/False, the grid goes empty.</p>
  
  <p>I have tried defining function in datasource for the column as below, but then its not showing any data for the column.</p>
  
  <pre><code>NewCol: function () {
      console.log(this.get('OrderDate'));
      if (this.get('OrderDate') &gt; new Date()) return 'False';
      else return 'True';
  },
  </code></pre>
  
  <p>Ans shows the js error <code>Uncaught TypeError: undefined is not a function</code></p>