Version 1
DataManagerNode GrapeCity DataViewsJS Class

DataManagerNode Class

Represents DataManagerNode.

Heirarchy

  • DataManagerNode

Constructors

constructor

  • Initializes a new instance of DataManagerNode.

    memberof

    GC.DataViews.DataView.DataManager

    constructor

    Parameters

    • dataManager: DataManager

      The owner DataManager instance.

    • calcNode: CalcNode_

      The underlying node in the calc model.

    • parentNode: DataManagerNode

      The parent node in the calc model.

    Returns DataManagerNode

Methods

evaluate

  • evaluate(formula: string): any
  • Evaluates the formula with the current sub-hierarchy context.

    Parameters

    • formula: string

      The formula to be evaluated.

    Returns any

    The evaluated result.

findChildNodeByPath

  • Gets the child node from the relative path of this node

    Parameters

    • path: number | number[]

      A array of numbers which indicate the relative path of the child node

    Returns DataManagerNode

    The child node

getCalculatedColumnValues

  • getCalculatedColumnValues(name: string): any[]
  • Gets all cell values of the specified calculated column

    Parameters

    • name: string

      The name of the calculated column

    Returns any[]

    Array of calculated column values

getItem

  • getItem(): IDataItem
  • Gets the data item of this node

    Returns IDataItem

getSourceRowIndex

  • getSourceRowIndex(): number
  • Gets the source row index of this node

    Returns number