mode

sets a view mode of Report Manager

string mode;

Values

  • "list"
  • "view"
  • "edit"
  • Example

    webix.ui({
      view:"reports",
      url: "https://docs.webix.com/reports-backend/",
      mode: "edit", // open editing form initially 
    });


    Default value:

    "list"

    Related samples

    Details

    The reactive property sets the current view mode. Refreshing is not required as the change will be applied immediately.

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

    webix.ui({
      view: "reports",
      url: "https://docs.webix.com/reports-backend/",
      mode: "list" // default value
    });
     
    $$("myReports").getState().mode = "edit"; // open editing form
    See also
    Back to top