Spread.Sheets Documentation
showColumn Method
The column index.
The horizontal position in which to display the column.
Moves the view of a column to the specified position in the viewport.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: any
value = instance.showColumn(col, horizontalPosition);
function showColumn( 
   col : number,
   horizontalPosition : HorizontalPosition
) : any;

Parameters

col
The column index.
horizontalPosition
The horizontal position in which to display the column.
Example
This example uses the showColumn method.
$("#button1").click(function () {    
    activeSheet.showRow(9, GC.Spread.Sheets.VerticalPosition.top);
});

$("#button2").click(function(){
    activeSheet.showColumn(9, GC.Spread.Sheets.HorizontalPosition.left);
});

//Add button controls to page
<input type="button" id="button1" value="button1"/>
<input type="button" id="button2" value="button2"/>
See Also

Reference

Worksheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.