getService

returns a service available for Report Manager

object getService(string service);

Parameters

servicestringthe service name

Returns

objectthe object with the service methods

Example

const local = $$("myReports").getService("local");

Related samples

Details

Services are major blocks of inner logic of the widget. Their methods can be called directly as well as customized.

Report Manager has access to the following services:

  • "Local" - works with the client data;
  • "Helpers" - provides methods for search and matching;
  • "Charts" - works with report charts;
  • "Backend" - works with the backend server.
See also
Back to top