SpreadJS 13
GC.Spread.Slicers Namespace / GeneralSlicerData type / onColumnNameChanged Method
The old name of the column.
The new name of the column.
In This Topic
    onColumnNameChanged Method
    In This Topic
    Changes a column name for the general slicer data.
    Syntax
    var instance = new GC.Spread.Slicers.GeneralSlicerData(data, columnNames);
    var value; // Type: any
    value = instance.onColumnNameChanged(oldName, newName);
    function onColumnNameChanged( 
       oldName : string,
       newName : string
    ) : any;

    Parameters

    oldName
    The old name of the column.
    newName
    The new name of the column.
    See Also