GC.Spread.Sheets 名前空間 > Worksheet タイプ : getViewportLeftColumn メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: number value = instance.getViewportLeftColumn(columnViewportIndex); |
Javascript (Specification) | |
---|---|
function getViewportLeftColumn( columnViewportIndex : number ) : number; |
$("#button1").click(function () { //Acquire top row (column) index var topRow = activeSheet.getViewportTopRow(1); var leftCol = activeSheet.getViewportLeftColumn(1); alert("Index of top row being displayed: " + topRow + "\n" + "Index of first column being displayed: " + leftCol); }); //Add button control to page <input type="button" id="button1" value="button1"/>
var brow = activeSheet.getViewportBottomRow(1); var lcol = activeSheet.getViewportLeftColumn(1); var rcol = activeSheet.getViewportRightColumn(1); var trow = activeSheet.getViewportTopRow(1); alert(brow); alert(lcol); alert(rcol); alert(trow);