mode

defines the mode of moving portlets

string mode;

Example

webix.ui({
    type:"space",
    view:"portlet",
    mode:"replace", 
    body:{
        template:"Drag and drop portlets"
    }
});

Related samples

Details

The possible modes of moving portlets are:

  • "replace" - portlets replace one another after drag-n-drop
  • "cols" - only horizontal movement is allowed
  • "rows" - only vertical movement is allowed
See also
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
    If you have not checked yet, be sure to visit site of our main product Webix javascript website framework and page of javascript drag and drop library product.