Skip to main content Skip to footer

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();

Tyler Barlock