VOOZH about

URL: https://www.geeksforgeeks.org/jquery/jqwidgets-jqxdocking-move-method/

⇱ jQWidgets jqxDocking move() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

jQWidgets jqxDocking move() Method

Last Updated : 23 Jul, 2025

jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. 

The jqxDocking is used for representing a widget to manage multiple windows and also the layout of a web page. Each window in the specified jqxDocking can do multiple tasks such as, it can be dragged around the web page, docked into docking zones, removed from the docking, collapsed into a minimized state for hiding its content, and also can be expanded for displaying its content.

The move() method is used to move the displayed jqxDocking's window to a particular position into a certain panel. It returns None.

Syntax:

$('#jqxDocking').jqxDocking('move', 'windowId', 1, 2);

Parameters:

  • windowId: It is the stated window's id which is of type string.
  • panel: It is the stated panel's window which is of type number.
  • position: It is the stated index of the window in the panel which is of type number.

Linked Files: Download jQWidgets from the given link. In the HTML file, locate the script files in the downloaded folder.

<link rel=”stylesheet” href=”jqwidgets/styles/jqx.base.css” type=”text/css” />
<script type=”text/javascript” src=”scripts/jquery.js”></script>
<script type=”text/javascript” src=”jqwidgets/jqxcore.js”></script>
<script type=”text/javascript” src=”jqwidgets/jqxdocking.js”></script>
<script type=”text/javascript” src=”jqwidgets/jqxwindow.js”></script>

Example 1: The below example illustrates the jQWidgets jqxDocking move() method.

Output:

👁 jQWidgets jqxDocking move() Method
jQWidgets jqxDocking move() Method

Example 2: The following is another example of the jqxDocking move() method in jQWidgets.

Output:

👁 jQWidgets jqxDocking move() Method
jQWidgets jqxDocking move() Method

Reference: https://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxdocking/jquery-docking-api.htm?search=#:~:text=Method-,move,-Method

Comment

Explore