serialize

serializes SpreadSheet data to a JSON object

object serialize( [object options] );
optionsobjectoptional, a set of configuration options
objecta serialized JSON object

Example

var data = $$("ssheet").serialize({options});

Related samples

Details

The options parameter allows you to define the way data will be serialized. You can specify the following settings:

  • sheets - (boolean) true to serialize all the sheets. By default the parameter is set to false - only the data of the current sheet is serialized
  • math - (boolean) false to disable serialization of math formulas. By default the parameter is set to true, and math formulas are serialized together with all other data of a sheet
  • compactStyles (boolean) - true to remove unused styles from the sheets. false by default.
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 ui library and page of spreadsheet javascript library product.