SpreadJS 13
GC.Spread.Sheets Namespace / CellRange type / imeMode Method
The cell imeMode.
In This Topic
    imeMode Method
    In This Topic
    Gets or sets the imeMode of the cell.
    Syntax
    var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
    var returnValue; // Type: any
    returnValue = instance.imeMode(value);
    function imeMode( 
       (optional) value : ImeMode
    ) : any;

    Parameters

    value
    The cell imeMode.

    Return Value

    If no value is set, returns the cell imeMode; otherwise, returns the cell.
    Example
    The following examples set the imeMode method.
    activeSheet.getCell(0, 0).imeMode(GC.Spread.Sheets.ImeMode.disabled);
    //or
    var style = new GC.Spread.Sheets.Style();
    style.imeMode = GC.Spread.Sheets.ImeMode.disabled;
    activeSheet.setStyle(0, 0, style);
    activeSheet.getRange(2, -1, 1, -1).imeMode(GC.Spread.Sheets.ImeMode.active);
    activeSheet.getRange(-1, 2, -1, 1).imeMode(GC.Spread.Sheets.ImeMode.auto);
    See Also

    Reference

    CellRange type