SpreadJS 13
GC.Spread.Sheets Namespace / Worksheet type / frozenTrailingColumnCount Method
The number of columns to freeze at the right side of the sheet.
In This Topic
    frozenTrailingColumnCount Method
    In This Topic
    Gets or sets the number of trailing frozen columns of the sheet.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var value; // Type: any
    value = instance.frozenTrailingColumnCount(colCount);
    function frozenTrailingColumnCount( 
       (optional) colCount : number
    ) : any;

    Parameters

    colCount
    The number of columns to freeze at the right side of the sheet.

    Return Value

    If no value is set, returns the number of trailing frozen columns; otherwise, returns the worksheet.
    Example
    This example creates a trailing frozen column.
    sheet.setRowCount(10);
    sheet.setColumnCount(8);
    sheet.frozenTrailingColumnCount(1);
    Remarks
    The default value is 0.
    See Also

    Reference

    Worksheet type