Spread.Sheets Documentation
focus Method
GC.Spread.Sheets Namespace > Workbook type : focus Method
false makes the Workbook component lose the focus; otherwise, get focus.
Makes the Workbook component get focus or lose focus.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var value; // Type: any
value = instance.focus(focusIn);
function focus( 
   focusIn : boolean
) : any;

Parameters

focusIn
false makes the Workbook component lose the focus; otherwise, get focus.
Example
This example sets focus to the Spread control.
$("#button1").click(function () {
spread.focus(true);
   });
See Also

Reference

Workbook type