GcSpread.Sheets Namespace > BaseCellType type : focus Method |
var instance = new GcSpread.Sheets.BaseCellType(); var value; // Type: any value = instance.focus(editorContext, context);
function focus( editorContext : object, context : object ) : any;
The context parameter can include the following items:
Item | Type | Description |
context.sheet | GcSpread.Sheets.Sheet instance | Indicates the current sheet. |
context.row | number | The row index. |
context.col | number | The column index. |
context.sheetArea | GcSpread.Sheets.SheetArea | The current sheet area. |