SpreadJS Documentation
Spread type
Represents a spreadsheet with the specified hosted DOM element and options setting.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
function Spread;
Inheritance Hierarchy

Object
   GcSpread.Sheets.Spread

Constructors
 NameDescription
public ConstructorSpread ConstructorRepresents a spreadsheet with the specified hosted DOM element and options setting.  
Top
Fields
 NameDescription
public FieldnameRepresents the name of the Spread control.  
public FieldsheetsRepresents the sheet collection.  
public FieldtouchToolStripRepresents the touch toolstrip.  
Top
Methods
 NameDescription
public MethodaddCustomFunctionAdds a custom function.  
public MethodaddCustomFunctionDescriptionAdds a custom function description.  
public MethodaddCustomNameAdds a custom name.  
public MethodaddNamedStyleAdds a style to the Spread named styles collection.  
public MethodaddSheetInserts a sheet at the specific index.  
public MethodaddSparklineExAdds a SparklineEx to the SparklineEx collection.  
public MethodallowSheetReorderGets or sets whether the user can change the order of the sheets by dragging their sheet tabs.  
public MethodallowUndoGets or sets whether to allow the user to undo edit operations.  
public MethodallowUserResizeGets or sets whether to allow the user to resize columns and rows.  
public MethodallowUserZoomGets or sets whether the user can scale the display of the component using the Ctrl key and the mouse wheel.  
public MethodautoFitTypeGets or sets whether the content will be automatically formatted to fit within a cell.  
public MethodbackColorGets or sets a color string used to represent the background color of the Spread component, such as "red", "#FFFF00", "rgb(255,0,0)", "Accent 5", and so on.  
public MethodbackgroundImageGets or sets the background image of the Spread component.  
public MethodbackgroundImageLayoutGets or sets the background image layout for the Spread component.  
public MethodbindBinds an event to the Spread.  
public MethodcanUserDragDropGets or sets whether to allow the user to drag and drop cell range data to another range.  
public MethodcanUserDragFillGets or sets whether to allow the user to drag fill a range of cells.  
public MethodcanUserEditFormulaGets or sets whether to allow the user to edit formulas in a cell in the spreadsheet.  
public MethodclearCustomFunctionDescriptionsClears all custom function descriptions.  
public MethodclearCustomFunctionsClears all custom functions.  
public MethodclearCustomNamesClears custom names.  
public MethodclearSheetsClears all sheets in the control.  
public MethodcutCopyIndicatorBorderColorGets or sets the border color for the indicator displayed when the user cuts or copies the selection.  
public MethodcutCopyIndicatorVisibleGets or sets whether to display an indicator when copying or cutting the selected item.  
public MethoddefaultDragFillTypeGets or sets the default fill type.  
public MethoddestroyRepaints the Spread control.  
public MethoddoCommandPerforms a command.  
public MethodenableFormulaTextboxGets or sets whether to enable the formula text box in the spreadsheet.  
public MethodfocusGets or sets whether the Spread component has the focus.  
public MethodfromJSONLoads the object state from the specified JSON string.  
public MethodgetActiveSheetGets the active sheet.  
public MethodgetActiveSheetIndexGets the active sheet index of the control.  
public MethodgetCalcServiceGets the calculation service of the Spread.  
public MethodgetCustomFunctionGets a custom function.  
public MethodgetCustomFunctionDescriptionGets a custom function description.  
public MethodgetCustomNameGets the specified custom name information.  
public MethodgetCustomNamesGets all custom name information.  
public MethodgetHostGets the host element of the current Spread instance.  
public MethodgetNamedStyleGets a style from the Spread named styles collection that has the same name as the specified name.  
public MethodgetNamedStylesGets named styles from Spread.  
public MethodgetSheetGets the specified sheet.  
public MethodgetSheetCountGets the number of sheets.  
public MethodgetSheetFromNameGets the sheet with the specified name.  
public MethodgetSheetIndexGets the sheet index with the specified name.  
public MethodgetTabStripRatioGets the width of the tab strip for this component expressed as a percentage of the overall horizontal scroll bar width.  
public MethodgrayAreaBackColorGets or sets a color string used to represent the background color of the gray area , such as "red", "#FFFF00", "rgb(255,0,0)", "Accent 5", and so on.  
public MethodhideSelectionGets or sets whether to display the selection highlighting when the Spread component does not have the focus.  
public MethodhighlightInvalidDataGets or sets whether to highlight invalid data.  
public MethodinvalidateLayoutUpdates the control layout information.  
public MethodisPaintSuspendedGets or sets a property that indicates whether to refresh automatically or manually after changing Spread user interface settings.  
public MethodnewTabVisibleGets or sets whether the spreadsheet displays a special tab that allows users to insert new sheets.  
public MethodnextControlGets or sets the next control used by GcSpread.Sheets.SpreadActions.selectNextControl and GcSpread.Sheets.SpreadActions.moveToNextCellThenControl.  
public MethodpreviousControlGets or sets the previous control used by GcSpread.Sheets.SpreadActions.selectPreviousControl and GcSpread.Sheets.SpreadActions.moveToPreviousCellThenControl.  
public MethodprintPrints the specified sheet.  
public MethodreferenceStyleGets or sets the style for cell and range references in cell formulas.  
public MethodrefreshManually refreshes the layout and rendering of the Spread object.  
public MethodremoveCustomFunctionRemoves a custom function.  
public MethodremoveCustomFunctionDescriptionRemoves a custom function description.  
public MethodremoveCustomNameRemoves the specified custom name.  
public MethodremoveNamedStyleRemoves a style from the Spread named styles collection that has the same name as the specified name.  
public MethodremoveSheetRemoves the specified sheet.  
public MethodremoveSparklineExRemoves a SparklineEx from the SparklineEx collection.  
public MethodrepaintRepaints the Spread control.  
public MethodresizeZeroIndicatorGets or sets the drawing policy when the row or column is resized to zero.  
public MethodresumeCalcServiceResumes the calculation service.  
public MethodresumeEventResumes the event  
public MethodscrollbarMaxAlignGets or sets whether the scroll bar aligns with the last row and column of the active sheet.  
public MethodscrollbarShowMaxGets or sets whether the displayed scroll bars are based on the entire number of columns and rows in the sheet.  
public MethodscrollIgnoreHiddenGets or sets whether the scroll bar ignores hidden rows or columns.  
public MethodsearchSearches the text in the cells in the specified sheet for the specified string with the specified criteria.  
public MethodsetActiveSheetSets the active sheet by name.  
public MethodsetActiveSheetIndexSets the active sheet index for the control.  
public MethodsetSheetCountSets the number of sheets.  
public MethodsetTabStripRatioSets the width of the tab strip expressed as a percentage of the overall horizontal scroll bar width.  
public MethodshowActiveCellMoves the active cell to the specified position.  
public MethodshowCellMoves a cell to the specified position.  
public MethodshowColumnMoves a column to the specified position.  
public MethodshowDragDropTipGets or sets a value indicating whether to display the drag-drop tip.  
public MethodshowDragFillSmartTagGets or sets whether to display the drag fill dialog after ending a drag fill.  
public MethodshowDragFillTipGets or sets a value indicating whether to display the drag-fill tip.  
public MethodshowHorizontalScrollbarGets or sets whether to display the horizontal scroll bar.  
public MethodshowResizeTipGets or sets how to display the resize tip.  
public MethodshowRowMoves a row to the specified position.  
public MethodshowScrollTipGets or sets how to display the scroll tip.  
public MethodshowVerticalScrollbarGets or sets whether to display the vertical scroll bar.  
public MethodstartSheetIndexGets or sets the index of the first sheet to display in the spreadsheet.  
public MethodsuspendCalcServiceSuspends the calculation service.  
public MethodsuspendEventSuspends the event.  
public MethodtabEditableGets or sets whether the user can edit the sheet tab strip.  
public MethodtabNavigationVisibleGets or sets the display policy for the sheet tab navigation.  
public MethodtabStripVisibleGets or sets the display policy for the sheet tab strip.  
public MethodtoJSONSaves the object state to a JSON string.  
public MethodunbindRemoves the binding of an event to Spread.  
public MethodunbindAllRemoves the binding of all events to Spread.
 
public MethoduseTouchLayoutGets or sets whether to use touch layout to present the Spread component.  
Top
See Also

Reference

GcSpread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.