Javascript (Usage) | |
---|
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: any
value = instance.frozenColumnCount(colCount); |
Javascript (Specification) | |
---|
function frozenColumnCount(
: number
) : any; |
パラメータ
- colCount
- 固定する列数。
戻り値の型
値が設定されていない場合は、固定列の数を返します。値が設定されている場合は、ワークシートを返します。
This example returns the frozen row and column counts.
var ccount = activeSheet.frozenColumnCount();
var rcount = activeSheet.frozenRowCount();
alert(ccount);
alert(rcount);
This example creates a frozen column.
sheet.setRowCount(10);
sheet.setColumnCount(8);
sheet.frozenColumnCount(1);