SpreadJS Documentation
previousControl Method
GC.Spread.Sheets Namespace > Workbook type : previousControl Method
The previous control. The control must have a focus method.
Gets or sets the previous control used by GC.Spread.Sheets.Actions.selectPreviousControl and GC.Spread.Sheets.Actions.moveToPreviousCellThenControl.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var returnValue; // Type: any
returnValue = instance.previousControl(value);
function previousControl( 
   value : HTMLElement
) : any;

Parameters

value
The previous control. The control must have a focus method.

Return Value

If no value is set, returns the previous control; otherwise, returns the spreadsheet.
See Also

Reference

Workbook type