- SpreadJS Overview
- Getting Started
- JavaScript Frameworks
- Best Practices
-
Features
- Workbook
- Worksheet
- Rows and Columns
- Headers
- Cells
- Data Binding
- TableSheet
- GanttSheet
-
ReportSheet
-
Template Sheet Settings
- Set Template Cell Type
- Set Spill Mode
- Apply Cell Expansion
- Set Spill Direction
- Set Pin
- Set Cell Context
- Set Filter Condition
- Sort Cell Data
- Auto Fit Template Cell
- Change Cell Styles
- Apply Conditional Formatting
- Add Data Validation
- Change Cell States
- Add Show/Collapse Button
- Show Hidden Row and Col
- ReportSheet Formula Functions
- Configure Data Entry Settings
- Set Pagination
- Configure Layout Settings
- Add Picture Shape
- Report Sheet Settings
- Report Sheet Data Entry Support
- Report Sheet Data Charts
-
Template Sheet Settings
- Data Charts
- JSON Schema with SpreadJS
- SpreadJS File Format
- Data Validation
- Conditional Formatting
- Sort
- Group
- Formulas
- Serialization
- Keyboard Actions
- Shapes
- Floating Objects
- Barcodes
- Charts
- Sparklines
- Tables
- Pivot Table
- Slicer
- Theme
- Culture
- AI Assistant
- SpreadJS Designer
- SpreadJS Designer Component
- SpreadJS Collaboration Server
- Touch Support
- Formula Reference
- Import and Export Reference
- Frequently Used Events
- API Documentation
- Release Notes
Template Sheet Settings
The TemplateSheet refers to the template of a report. It includes a number of report-related parameters as well as explains many report-related concepts. Since the TemplateSheet is an extension of the worksheet, you can consider it as a worksheet as well.
You can use various methods and properties of the TemplateSheet class to configure the settings for a report template.
To know more about TemplateSheet settings, refer to the following topics:
Setting | Description |
|---|---|
Controls how to organize data. | |
Overwrites cells when spilled in a ReportSheet. | |
Controls whether the cell can be expanded or not. | |
Controls how the data spills in the report sheet. | |
Sets the vertical and horizontal context for the cell. | |
Clears the offset of the spilled cell in the TemplateSheet. | |
Filters data based on specified conditions. | |
Sorts data in ascending, descending, or in their customized order. | |
Automatically adjusts column width and row height to fit the content when generating reports. | |
Sets background colors or borders for cells. | |
Sets the conditional format on the template sheet. | |
Verifies that the data entered into cells meets certain criteria or rules. | |
Represents how a cell will respond to different actions from the user. | |
Controls whether to show the button that can collapse the children of the cell in the report. | |
Toggle the visibility of rows and columns marked as hidden specifically within the design view of the ReportSheet template. | |
Defines basic function usage. | |
Sets data entry setting in the template sheet. | |
Customizes pagination settings in the template sheet. | |
Sets row/column layout settings. | |
Adds a picture as a shape to make the report more informative. |