Can't find what you're looking for?

Contact us or post in our forums and we'll help you find an answer.

How to increase Spread's height dynamically in JavaScript

Background:

You may need to be able to increase the height of your spreadsheet.

Steps to Complete:

1. You need to call the refresh() method after changing the height of the spread container to update the spread layout according to the new dimensions.

var spreadContainer = document.getElementById("ss");
// update height
spreadContainer.style.height = "700px";
// refresh spread to update layout
spread.refresh();