I click on AppStudio’s Start in Desktop Browser to test the app. It runs all right.
Then, when I click on Chrome’s “Reload this page” I am getting an error that says “Grid1.getRowCount() is not a function”.
It looks like the grid hasn’t appeared yet on the screen when it is trying to run the function getRowCount().
How can I make sure that the grid is showing up first before the grid function is run?