I’m using the API collapseAllData with classic form grid.
The problem is that after the collapse method the columns are hidden.
Below in the attached example the column “Color” is hidden after the click on button “Collapse all data”.
Thank you for posting your question.
We’d like to emphasize that the described behavior is expected when working with the classic pivot table layout. Once all the members of a lower-level field are collapsed, the field header disappears from the grid until one of its members is expanded again.
Please let us know if there is anything else we can help you with.