☝️Small business or a startup? See if you qualify for our special offer.
+
All documentation
  • API Reference for older versions
  • All methods

    Flexmonster Pivot Table & Charts offers many methods to adjust the component to your project. Access these methods using a reference to the Flexmonster instance:

    const pivot = new Flexmonster({
      // Your configuration
    });
    
    pivot.getCell(1,1);

    Read more about how to use methods.

    List of API calls:

    API callDescription
    addCalculatedMeasureAdds a calculated measure.
    addConditionAdds a conditional formatting rule.
    alertShows an alert pop-up window with a custom message.
    clearClears the report.
    clearFilterClears the filter applied to the specified field.
    clearXMLACacheRequests Microsoft Analysis Services to clear the cache.
    closeFieldsListCloses the Field List.
    collapseAllDataCollapses all expanded nodes and drills up all levels of every hierarchy.
    collapseCellCollapses a specific node on the grid and charts.
    collapseDataCollapses all nodes of the specified field.
    connectToClears the current report and connects to a specified data source.
    customizeAPIRequestAllows customizing the request before it is sent to a server.
    customizeCellSets a function for customizing particular grid cells.
    customizeChartElementSets a function for customizing particular chart elements in Flexmonster Pivot Charts.
    customizeContextMenuAllows customizing context menu.
    disposePrepares the pivot table instance to be deleted with the browser’s garbage collector.
    drillDownCellDrills down a specific hierarchy level on the grid and charts.
    drillUpCellDrills up a specific hierarchy level on the grid and charts.
    expandAllDataExpands all fields and drills down all multilevel hierarchies in rows, columns, or rows and columns.
    expandCellExpands a specific node on the grid and charts.
    expandDataExpands all nodes of the specified field.
    exportToExports the current view to Excel, PDF, CSV, HTML, or image format.
    getAllConditionsReturns a list of conditional formatting rules of the report.
    getAllHierarchiesReturns a list of all available fields.
    getAllHierarchiesAsyncThe async equivalent of getAllHierarchies.
    getAllMeasuresReturns a list of all available measures.
    getAllMeasuresAsyncThe async equivalent of getAllMeasures.
    getCellReturns information about a cell by its row and column indexes.
    getColumnsReturns a list of fields selected in the slice for columns.
    getColumnsAsyncThe async equivalent of getColumns.
    getConditionReturns a conditional formatting rule by its id.
    getFilterReturns the filter applied to the specified field.
    getFlatSortReturns an array of objects defining the sorting on the flat table.
    getFormatReturns a default number format or the number format for the specified measure.
    getMeasuresReturns a list of measures selected in the report.
    getMeasuresAsyncThe async equivalent of getMeasures.
    getMembersReturns a list of members for the specified field.
    getMembersAsyncThe async equivalent of getMembers.
    getOptionsReturns the OptionsObject of the current report.
    getReportReturns the ReportObject that describes the current report.
    getReportFiltersReturns a list of fields selected in the slice for report filters.
    getReportFiltersAsyncThe async equivalent of getReportFilters.
    getRowsReturns a list of fields selected in the slice for rows.
    getRowsAsyncThe async equivalent of getRows.
    getSelectedCellReturns information about selected cells.
    getSortReturns the sort type applied to the field.
    getTableSizesReturns table sizes that are set for the grid.
    getXMLACatalogsGets a list of all available catalogs on a given data source.
    getXMLACatalogsAsyncThe async equivalent of getXMLACatalogs.
    getXMLACubesGets a list of all available cubes on a given data source.
    getXMLACubesAsyncThe async equivalent of getXMLACubes.
    getXMLADataSourcesGets a list of all data sources by given URL for XMLA connection.
    getXMLADataSourcesAsyncThe async equivalent of getXMLADataSources.
    getXMLAProviderNameReturns type for a given proxyUrl.
    getXMLAProviderNameAsyncThe async equivalent of getXMLAProviderName.
    loadLoads the report file from the specified URL.
    offRemoves handlers for the specified event.
    onSets a handler for the specified event.
    openOpens a local report file.
    openCalculatedValueEditorOpens the Calculated value pop-up window.
    openFieldsListOpens the Field List.
    openFilterOpens the filter view for the specified field.
    printPrints the current view via the OS print manager.
    refreshRedraws the component.
    removeAllCalculatedMeasuresRemoves all calculated measures.
    removeAllConditionsRemoves all conditional formatting rules.
    removeCalculatedMeasureRemoves a calculated measure by its unique name.
    removeConditionRemoves a conditional formatting rule by its id.
    removeSelectionRemoves selection from cells on the grid.
    runQuerySets new rows, columns, measures, and report filters in the SliceObject and displays the updated data.
    saveSaves the current report to a chosen location.
    scrollToColumnScrolls the grid to the specified column.
    scrollToRowScrolls the grid to the specified row.
    setFilterApplies the filter to the specified field.
    setFlatSortSorts columns in the flat form.
    setFormatSets the default number format or a number format for the specified measure.
    setOptionsSets options for the component.
    setReportSets a report for the component.
    setSortSets the sort type to the specified field.
    setTableSizesReturns table sizes set for the grid.
    shareReportSaves the current report to Flexmonster Data Server and provides a link to the saved report.
    showChartsSwitches the view to the specified chart type.
    showGridSwitches to the grid view.
    showGridAndChartsSwitches the view to the grid and charts; the chart type can be specified.
    sortFieldsListSets custom sorting for Field List items.
    sortingMethodOverrides the default ascending order of field members.
    sortValuesSorts a specific row or column in the compact form, the classic form, and the chart view.
    updateDataUpdates data for the report without clearing the report.