Spread.Sheets 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 GC.Spread.Sheets.Worksheet(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

Worksheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.