source

stores the current group folder ID

string source;

Values

  • files
  • recent
  • favorite
  • shared
  • trash
  • Example

    webix.ui({
        view:"docmanager", id:"dm",
        url:"https://docs.webix.com/docmanager-backend/",
        source:"recent"
    });
     
    $$("dm").config.source = "trash";


    Default value:

    files

    Related samples

    Details

    This reactive property stores the current group folder. Once it is modified, the widget is refreshed to reflect the change.

    You can also access and alter this property via the widget state:

    $$("dm").getState().source = "shared";

    Note, that if source is not "files", path can be only "/", which means that you cannot browse folders inside the group folders as you will be immediately redirected to "files".

    See also
    Back to top