Is there a way to dynamically set the height and width of the kendo window based on the content of the kendo grid? Below is the code snippet for my kendo-window:
<div kendo-window="Operation.OperCustWind"
k-width="800"
k-height="700"
id="operCustWindow"
k-visible="false"
modal="true"
k-on-close="Operation.closeOperCustWindow()">
<!-- Code omitted for brevity -->
</div>
In the following function call "Operation.OprOznGrid", I am setting specific parameters:
vm.getOperOzn = function () {
vm.IsOpers.isOprOZN = true;
// Additional operations...
}
You can view a screenshot here.
If anyone has a solution to dynamically adjust the dimensions of the kendo window, I would greatly appreciate your assistance. Apologies for any language barriers!