moduleId

defines a report to be shown currently

string moduleId;

Example

webix.ui({
  view:"reports",
  url: "https://docs.webix.com/reports-backend/",
  moduleId: 2 // report with ID: 2 will be opened initially
});

Details

The reactive property defines a report to be shown currently. Refreshing is not required as the change will be applied immediately.

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

// open report with ID: 48 
$$("myReports").getState().moduleId = "48";
See also
Back to top