Need a special offer?Find out if your project fits.
+
API reference
  • API Reference for older versions
  • Table of contents

    expandCell

    expandCell(axisName: string, tuple: string[], measureName: string)

    [starting from version 2.9.6]

    Expands a specific node on the grid and charts.

    Parameters

    Parameter/Type Description
    axisName
    String
    The node's axis. It can be either "rows" or "columns".
    tuple
    String[]
    Consists of member unique names that identify the node in the table.
    measureName
    String
    optional The measure's unique name. Use the measureName to expand a node only for a specific measure when:
    • The slice has several measures.
    • The node to expand is nested in measures.
    If the measureName is not defined, the node will be expanded for all measures used in the slice.

    Examples

    1) Expand a specific node:

    flexmonster.expandCell("rows", ["Accessories", "Canada"]);

    See the full code on JSFiddle.

    2) Expand a specific node for a specific measure:

    flexmonster.expandCell("rows", ["Canada"], "Price");

    See also

    collapseCell
    expandData
    expandAllData