SpreadJS Documentation
GC.Spread.Sheets Namespace / Worksheet type / getDependents Method
The row index.
The column index.
In This Topic
    getDependents Method
    In This Topic
    Gets the dependent CellRange information object array of the cell.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var value; // Type: Array
    value = instance.getDependents(row, col);
    function getDependents( 
       row : number,
       col : number
    ) : Array;

    Parameters

    row
    The row index.
    col
    The column index.

    Return Value

    Returns dependent cell information object array dependentsInfo.row {number} Indicates the cellRange row index. dependentsInfo.col {number} Indicates the cellRange col index. dependentsInfo.rowCount {number} Indicates the cellRange row count. dependentsInfo.colCount {number} Indicates the cellRange colcount. dependentsInfo.sheetName {string} Indicates the workSheet name.
    Example
    sheet.getDependents(1, 1);
    See Also

    Reference

    Worksheet type