Drag and drop the window after tiling

  1. #1

    Drag and drop the window after tiling

    Hi Sir,

    I have opened windows through shortcuts in desktop control then click on tiling button and its tiled as expected, but in my scenerio Windows needs get adjusted automatically if we drag one window and drop in to other window(which is already tiled). i.e., For example if first postion window drags and drops on to the third postion window then third postion window should move to the first postion I'm expecting like swapping.. Is there any option like this or any is there is any way to do this.

    Thank you,
    Vamsi.
  2. #2
    Hello @vamsi!

    There's no such functionality built-in the desktop component, unfortunately. I am sure there are ways to do it, but it'd require some sort of ground-up development. You probably can use the same logic in the portal component.

    Here's an example of the portal component: Portal > Basic > Simple

    Notice how it "allocates spots" for windows. I'm afraid that's not going to be a simple change, as this is quite an elaborate scenario.

    You may be able to, once calling the tile function, place "drop targets" like it is done with the portal component.

    Note: the component is exclusive to Ext.NET. You can see its client-side source code if you open the example above in debug mode; just do these steps:
    1. open the link above,
    2. in the cog icon menu at top-left of the page, check the "Debug Mode" checkbox. Wait the page to load.
    3. open the Direct link for the Portal Example ("Direct Link" button at top-right of the example, then "Open (Direct)" or the link here).
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] DOM Drag-Drop example initial drag height
    By electromorph in forum 3.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 09, 2015, 12:36 PM
  2. Replies: 0
    Last Post: Jun 12, 2014, 12:11 PM
  3. [CLOSED] Issue with drag and drop for portal in modal window
    By Labyrinth in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 09, 2011, 9:13 AM
  4. [CLOSED] MultiSelect with drag and drop, Drop listener
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 30, 2009, 8:25 AM
  5. [FIXED] Drag/Drop of Window out of panel
    By jetskij16 in forum Bugs
    Replies: 1
    Last Post: Apr 16, 2008, 5:06 PM

Posting Permissions