Given the size of the codebase I'm working with, this is a theory question.
I have a table with a series of rows on a tab. On load, the rows appear correctly. The rows can be expanded and collapsed, and the code remembers the user's last preference.
However, when I change tabs and change back to the window with the table, the code remembers the rows are expanded but the rows do not show.
When I resize the window, the rows suddenly appear, as if a re-render has occurred.
Basic question: is there a way to make sure the element re-renders programmatically to get the rows to appear correctly?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…