useWithBlock Boolean(default: true)

If set to false and evalTemplate is set to true, the kendo template will be evaluated without using a with block.


<div id="app"></div>
<script id="foo-template" type="text/x-kendo-template">
    <span>#: #</span> <!-- "data." is required as there is no with block -->
 var foo = { foo: "foo" }
 var view = new kendo.View('foo-template', { model: foo, evalTemplate: true });
In this article