SpreadJS Documentation
Cell type
Represents a cell in a sheet.
Syntax
var instance = new GcSpread.Sheets.Cell(sheet, row, col, sheetArea);
function Cell;
Inheritance Hierarchy

Object
   GcSpread.Sheets.Cell

Constructors
 NameDescription
public ConstructorCell ConstructorRepresents a cell in a sheet.  
Top
Fields
 NameDescription
public FieldcolGets the starting column index.  
public Fieldcol2Gets the ending column index.  
public FieldrowGets the starting row index.  
public Fieldrow2Gets the ending row index.  
public FieldsheetGets the sheet that contains this cell.  
public FieldsheetAreaGets the area that contains this cell.  
Top
Methods
 NameDescription
public MethodbackColorGets or sets the background color for the cell, such as "red", "#FFFF00", "rgb(255,0,0)", "Accent 5", and so on.  
public MethodbackgroundImageGets or sets the background image for the cell.  
public MethodbackgroundImageLayoutGets or sets the background image layout for the cell.  
public MethodbindingPathGets or sets the binding path for cell binding.  
public MethodborderBottomGets or sets the bottom border of the cell.  
public MethodborderLeftGets or sets the left border of the cell.  
public MethodborderRightGets or sets the right border of the cell.  
public MethodborderTopGets or sets the top border of the cell.  
public MethodcellTypeGets or sets the cell type of the cell.  
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 MethodcommentGets or sets the comment for the cell.  
public MethoddataValidatorGets or sets the data validator for the cell.  
public MethodfontGets or sets the font for the cell, such as "normal normal normal 20px/normal Arial".  
public MethodforeColorGets or sets the color of the text in the cell, such as "red", "#FFFF00", "rgb(255,0,0)", "Accent 5", and so on.  
public MethodformatterGets or sets the formatter for the cell.  
public MethodformulaGets or sets the formula for the cell.  
public MethodhAlignGets or sets the horizontal alignment of the contents of the cell.  
public MethodimeModeGets or sets the imeMode of the cell.  
public MethodlockedGets or sets whether the cell is locked. When the sheet is protected, the locked cell cannot be edited.  
public MethodshrinkToFitGets or sets whether the cell shrinks the text to fit the cell size.  
public MethodtabStopGets or sets a value that indicates whether the user can set focus to the cell using the Tab key.  
public MethodtagGets or sets the tag for the cell.  
public MethodtextGets or sets the formatted text for the cell.  
public MethodtextDecorationGets or sets the type of the decoration added to the cell's text.  
public MethodtextIndentGets or sets the text indent of the cell.  
public MethodthemeFontGets or sets the theme font for the cell.  
public MethodvAlignGets or sets the vertical alignment of the contents of the cell.  
public MethodvalueGets or sets the unformatted value of the cell.  
public MethodwatermarkGets or sets the content of the cell watermark.  
public MethodwordWrapGets or sets whether the cell lets text wrap.  
Top
See Also

Reference

GcSpread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.