wrap Boolean (default: true)

If set to false, the view will not wrap its contents in a root element. In that case, the view element will point to the root element in the template. If false, the view template should have a single root element.

Example

<div id="app"></div>

<script>
var view = new kendo.View('<div id="foo"></div>', { wrap: false });
view.render($("#app"));
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(view.element.attr('id')) // foo
</script>
In this article