title: Kendo command template show/hide on condition
body: <p>I know I can set values of regular data columns within a kendo grid like this:</p>
  
  <pre><code>columns: [
      { field: "Test", template: "#= Test? 'test successful' : 'test failed' #" }
  ]
  </code></pre>
  
  <p>However, I need to set a command on a condition but when I try to do the same on a command column I get an error telling me Test would not be defined.</p>
  
  <pre><code>columns: [
      { field: "Test", template: "#= Test? 'test successful' : 'test failed' #" },
      { command:
          { name: "test",
            template: "#= Test? '&lt;a class=\"k-button k-button-icontext\" title=\"Test Successful\" /&gt;' : '&lt;a class=\"k-button k-button-icontext\" hidden /&gt;' #", click: Test
          }
      }
  ]
  </code></pre>