SpreadJS Documentation
useTouchLayout Method
Whether to use touch layout to present the Spread component.
Gets or sets whether to use touch layout to present the Spread component.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var returnValue; // Type: Object
returnValue = instance.useTouchLayout(value);
function useTouchLayout( 
   value : boolean
) : Object;

Parameters

value
Whether to use touch layout to present the Spread component.

Return Value

true if using touch layout to present the Spread component; otherwise, false.
Example
activeSheet.useTouchLayout(true);
Remarks
The useTouchLayout method increases the size of the navigation buttons in the tab strip and the scrollbar and also increases the size of various buttons involved in grouping, filtering, and validation. This method does not require touch support.
See Also

Reference

Spread type
Using Touch Support with the Tab Strip

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.