SpreadJS Documentation
Column type
Represents a column in a sheet.
Syntax
var instance = new GcSpread.Sheets.Column(sheet, index, sheetArea);
function Column;
Inheritance Hierarchy

Object
   GcSpread.Sheets.Column

Constructors
 NameDescription
public ConstructorColumn ConstructorRepresents a column in a sheet.  
Top
Fields
 NameDescription
public FieldindexGets column index of the first column in the range.  
public Fieldindex2Gets column index of the last column in the range.  
public FieldsheetGets the sheet that contains this column.  
public FieldsheetAreaGets the area that contains this column.  
Top
Methods
 NameDescription
public MethodbackColorGets or sets the background color for the column, such as "red", "#FFFF00", "rgb(255,0,0)", "Accent 5", and so on.  
public MethodbackgroundImageGets or sets the background image for the column.  
public MethodbackgroundImageLayoutGets or sets the background image layout for the column.  
public MethodborderBottomGets or sets the bottom border for the column.  
public MethodborderLeftGets or sets the left border for the column.  
public MethodborderRightGets or sets the right border for the column.  
public MethodborderTopGets or sets the top border for the column.  
public MethodcellTypeGets or sets the cell type for the column.  
public MethodclearStylePropertyClears the style setting for the specified property that is a property of GcSpread.Sheets.Style, such as "backColor", "foreColor", and so on.  
public MethoddataValidatorGets or sets the data validator for the column.  
public MethodfontGets or sets the font for the column, such as "normal normal normal 20px/normal Arial".  
public MethodforeColorGets or sets the color of the text in the column, such as "red", "#FFFF00", "rgb(255,0,0)", "Accent 5", and so on.  
public MethodformatterGets or sets the formatter for the column.  
public MethodhAlignGets or sets the horizontal alignment of the contents of the cells in the column.  
public MethodimeModeGets or sets the imeMode of the column.  
public MethodlockedGets or sets whether the cells in the column are locked. When the sheet is protected, the locked cell cannot be edited.  
public MethodresizableGets or sets if the column can be resized by the user.  
public MethodshrinkToFitGets or sets whether the contents of the cells in the column can shrink to fit.  
public MethodtabStopGets or sets a value that indicates whether the user can set focus to the cells in the column using the Tab key.  
public MethodtagGets or sets the tag for the column.  
public MethodtextDecorationGets or sets the type of the decoration added to the text of the cells in the column.  
public MethodtextIndentGets or sets the text indent for the column.  
public MethodthemeFontGets or sets the theme font for the column.  
public MethodvAlignGets or sets the vertical alignment of the contents of the cells in the column.  
public MethodvisibleGets or sets whether the column is displayed.  
public MethodwatermarkGets or sets the content of the column watermark.  
public MethodwidthGets or sets the width of the column in pixels.  
public MethodwordWrapGets or sets whether text wraps in the cells in the column.  
Top
See Also

Reference

GcSpread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.