SpreadJS Documentation
getViewportWidth Method
The index of the column viewport.
Gets the width of the specified viewport column for the active sheet.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: number
value = instance.getViewportWidth(columnViewportIndex);
function getViewportWidth( 
   columnViewportIndex : number
) : number;

Parameters

columnViewportIndex
The index of the column viewport.

Return Value

The width of the viewport
Example
This example uses the getViewportWidth method.
alert(activeSheet.getViewportWidth(1));
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.