Need More Info
Last Updated: 22 Jan 2024 09:33 by ADMIN
Andre' Hazelwood
Created on: 16 Jan 2024 17:48
Category: Window
Type: Feature Request
1
Add ability to move dialog to specific area on screen, but still allow to be draggable

Currently you can either set the position of a window by specifying the top or left positions on the screen.  However once these are specified, the window is no longer draggable, or is only draggable in a specific direction, for example, set the :top="100" attribute on a window and the window is now locked to that height (100px) and can only be dragged left or right, instead of vertically and horizontally.

Please allow a window to be set to any position on the screen programatically at any time, and then allow it to be draggable if the draggable property is set to true.  A use case would be where a window is opened up next to another element on the screen, the user moves the window to get access to any underlying content and then closes the window.  It would be ideal to be able to programmatically specify where to open the window when the same method is called again.

Thanks.

1 comment
ADMIN
Konstantin Dikov
Posted on: 22 Jan 2024 09:33

Hello Andre,

Thank you for contacting us.

You can use the dragging option of the Window in combination with programmatically setting the position by putting the position in controlled mode and handling the "move" event. For your convenience, following is an example demonstrating such an approach, where the second button sets the Window position programmatically:

Please give this a try and let us know if you have something different in mind. 

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources