wrapper jQuery

The outermost element, which is part of the widget. Depending on the widget and the exact scenario, the wrapper and the element may match. For example, if the Grid is initialized from a <div>, the two references match. But if the Grid is initialized from a <table>, then element points to the <table>, while wrapper points to the wrapper <div>.

See Widget DOM Elements for more information.

Example

<div id="myWindow">...window content...</div>
<script>
    // initialize the widget
    $("#myWindow").kendoWindow( { /*...*/ } );

    // get the wrapper
    var winWrapper = $("#myWindow").data("kendoWindow").wrapper; // returns div.k-window as a jQuery object
</script>
In this article