getService

returns a service available for Gantt

object getService(string service);

Parameters

servicestringthe service name

Returns

objectthe object with the service methods

Example

const local = $$("myGantt").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.

Gantt has access to the following services:

  • "Local" - works with the client data;
  • "Operations" - synchronizes the backend data with the client data;
  • "Backend" - works with the backend server.
See also
Back to top