Hi,
I am trying to open a KendoUI WIndow in the maximized state, or to set the state on the window programmatically, but nothing worked - the state on the Kendo window object is still "default".
Here is that I have tried until now:
window.state = "maximized";
window.stateChange.next("maximized");
window.titleBarView.service.maximizeAction();
import { WindowService } from '@progress/kendo-angular-dialog';
export class MyWindowComponent {
constructor(private windowService: WindowService){}
public openWindow() {
this.windowService.open({
content: MyModalComponent,
title: 'Modal Form View',
resizable: true,
height: 500,
width: 600,
top: 100,
left: 200,
state: 'maximized'
});
}
}
Am I setting the state the correct way?
Or is there any other way I could achieve this?
Best regards,
Mike Fechner