path

sets a folder to be opened initially

string path;

Example

webix.ui({
  view:"docmanager", 
  id: "dm",
  url: "//localhost:3200/",
  path: "/kittens" // kittens folder will be opened initially
});

Details

This is a reactive property that sets the currently opened folder. Refreshing is not required as the change will be applied immediately. If you want a group folder ("trash", "favorite", "recent" or "shared") to be opened initially consult the source property.

You can also alter this property via the widget state object:

$$("dm").getState().path = "/puppies";
See also
Back to top