The Table view and Document view are independent of each other. The expand or collapse state and selection are specific to each view.
Click in the toolbar to switch between the Table view and the Document view.
The below table explains the single widget organization: