Why is rows.length < bodyRowCount?
I'm writing a script that has to remove rows at the end of a table. It is not working as expected.
While debugging, I noticed that rows.length (29) is less than bodyRowCount (32).
How is this possible? Doesn't rows.length contain the entire collection of all rows and therefore should be equal to or greater than bodyRowCount?
What could be causing the rows.length to contain less than all rows in the table? Could it be merged cells? Is there a way to identify all merged cells in the table? Or is it something else?
Any help or insights are greatly appreciated!
