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

    Flexmonster Pivot Table & Charts offers many events to track different processes and user actions.

    There are two ways to subscribe to the events:

    1. Using the on() API call:
      flexmonster.on(<eventName>, function() {
      // Event handling
      });
    2. When initializing the Flexmonster instance:
      new Flexmonster({
      <eventName>: function() {
      // Event handling
      },
      // Other parameters
      });

    Read more about how to use events.

    List of events:

    Event Description
    afterchartdraw Triggered after chart rendering.
    aftergriddraw Triggered after grid rendering.
    beforegriddraw Triggered before grid rendering.
    beforetoolbarcreated Triggered before the creation of the Toolbar.
    cellclick Triggered when a cell is clicked on the grid.
    chartclick Triggered when a chart element is clicked.
    celldoubleclick Triggered when a cell is double clicked on the grid.
    datachanged Triggered after the user edits data.
    dataerror Triggered when some error occurred during the loading of data.
    datafilecancelled Triggered when Open file dialog was opened and customer clicks Cancel button.
    dataloaded Triggered when the component loaded data.
    drillthroughclose Triggered when the drill-through view is closed.
    drillthroughopen Triggered when the drill-through view is opened.
    exportcomplete Triggered when the export is complete.
    exportstart Triggered when the export starts.
    fieldslistclose Triggered when the built-in Field List is closed.
    fieldslistopen Triggered when the built-in Field List is opened.
    filterclose Triggered when the filter pop-up window is closed.
    filteropen Triggered when the filter pop-up window is opened.
    loadingdata Triggered when data starts loading from from local or remote CSV, JSON or after report was loaded.
    loadinglocalization Triggered when localization file starts loading.
    loadingolapstructure Triggered when structure of OLAP cube starts loading.
    loadingreportfile Triggered when a report file started loading.
    localizationerror Triggered when some error appeared while loading localization file.
    localizationloaded Triggered when localization file was loaded.
    olapstructureerror Triggered when some error appeared while loading OLAP structure.
    olapstructureloaded Triggered when OLAP structure was loaded.
    openingreportfile Triggered when customer uses menu Open -> Local report or API method open() is called.
    printcomplete Triggered when the OS print manager is closed.
    printstart Triggered when the OS print manager is opened to start printing.
    querycomplete Triggered after the data query was complete.
    queryerror Triggered if some error occurred while running the query.
    ready Triggered when the component’s initial configuration completed and the component is ready to receive API calls.
    reportchange Triggered when a report is changed in the component.
    reportcomplete Triggered when the operations can be performed with the component (data source file or OLAP structure was loaded successfully and the grid/chart was rendered).
    reportfilecancelled Triggered when customer uses menu Open -> Local report and clicks Cancel button.
    reportfileerror Triggered when some error occurred during the loading of the report file.
    runningquery Triggered before data query is started.
    unauthorizederror Triggered when the Accelerator or the custom data source API server sends the 401 Unauthorized error in response to Flexmonster's request.
    update Triggered when the change occurred in the component.