Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

You can save to a JavaScript file (.js) using the File, Save, or Save As option in the designer. You can use the fromJSON method to load the file. The variable name in the method should be the same as the name of the file. If the file name is invalid, blank characters are replaced by underscores and the name starts with an underscore character.

Using Code

This example loads the name.js file.

JavaScript

Copy Code

<script type="text/javascript" src="name.js"></script>
 
<script>
    $(function(){
        spread.fromJSON(name);
    });
</script>


See Also
Opening and Saving Files
Spread.Sheets Designer File Tab

  • No labels