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.


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

var view = new kendo.View('<div id="foo"></div>', { wrap: false });
console.log(view.element.attr('id')) // foo
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article