Edit this page

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"));
console.log(view.element.attr('id')) // foo
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy