[]
Represents options for saving a workbook as a SpreadJS .sjs file.
Use this class to control which workbook content is included when exporting to .sjs,
such as styles, formulas, unused names, empty cells outside the used range, binding
sources, automatically merged cells, and data outside the defined row and column counts.
public class SjsSaveOptions : SaveOptionsBase
Public Class SjsSaveOptions
Inherits SaveOptionsBase
worksheet.Range["A1"].Value = "Name";
SjsSaveOptions options = new SjsSaveOptions();
options.IncludeStyles = false;
string json = workbook.ToSjsJson(options);
workbook.Save("path/to/output.sjs", options);
| Name | Description |
|---|---|
| SjsSaveOptions() | Constructor. |
| Name | Description |
|---|---|
| IgnoreRangeOutOfRowColumnCount | Gets or sets whether data outside the worksheet The default value is false. When this property is false, data outside the specified row and column count is still exported to the .sjs file. |
| IncludeAutoMergedCells | Gets or sets whether to include automatically merged cells when saving a file. The default value is false. |
| IncludeBindingSource | Gets or sets whether to include the binding source when saving the file.
This option controls whether bound data is exported when the workbook is saved to SpreadJS |
| IncludeEmptyRegionCells | Gets or sets whether empty cells outside the used data range are included when saving to an SJS file. The default value is true. |
| IncludeFormulas | Gets or sets whether formulas can be included when saving the file. The default value is true. |
| IncludeStyles | Gets or sets whether styles are included when saving files.
This option controls whether style information is written when exporting to the SpreadJS |
| IncludeUnusedNames | Gets or sets whether unused custom names are included when saving the file.
This property applies when exporting to the SpreadJS |