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
    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.