How to stop the links to the empty space in scrolling table

Is this the same question as How to expand/collapse all panels in the diagram programatically? ? If so, I’ll answer there.