SpreadJS Documentation
hideSelection Method
Whether to display the selection highlighting when the Spread component does not have the focus.
Gets or sets whether to display the selection highlighting when the Spread component does not have the focus.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var returnValue; // Type: Object
returnValue = instance.hideSelection(value);
function hideSelection( 
   value : boolean
) : Object;

Parameters

value
Whether to display the selection highlighting when the Spread component does not have the focus.

Return Value

true if the selection highlighting is not displayed the Spread component does not have the focus; otherwise, false.
Example
This example hides the focus indicator when the control no longer has focus.
spread.hideSelection(true);
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.