Need a special offer?Find out if your project fits.
+
All documentation
API reference
  • API Reference for older versions
  • olapstructureerror

    [starting from version: 2.3]

    It is triggered for "microsoft analysis services" and "api" data source types:

    • For Microsoft Analysis Services, olapstructureerror is triggered when some error appeared while loading the OLAP structure.
    • For the custom data source API, the event is triggered if the response to the /fields request was not received successfully.

    To track when the structure starts loading, use loadingolapstructure. To make sure that structure was loaded, use olapstructureloaded.

    Data passed to the handler

    Parameter/Type Description
    params
    Object
    Contains information about the event.
    params.error
    String
    The error message returned from the server side.

    Example

    flexmonster.on('olapstructureerror', function (e) {
      alert('Error with olap structure!' + e.error);
    });

    Check out on JSFiddle.

    See also

    olapstructureloaded
    loadingolapstructure
    unauthorizederror