Hi,
I am trying to change the data grid view from grouped view to a non-grouped view.
However, the grouped column does not become visible after the SetViewLayout() action is executed.
How can I make the column visible automatically?
Steps to reproduce the issue:
1. Import attached OML file.
2. Click "Grouped View" button to switch the view to grouped view layout.
3. Click "Default View" button to switch back the view to non-grouped view layout.
Expected Result
Column B should be visible after step #3 is executed.
Environment
ODC Studio Version 1.4.33 / Build 7444
OutSystems Data Grid Version 2.17.1
The issue happens because SetViewLayout() doesn't automatically show hidden grouped columns when switching back.
After SetViewLayout("Default"), explicitly call SetColumnVisible("ColumnB", true) to make the column visible.
This ensures Column B reappears in the non-grouped view.
Hi @Vic So
Refer this link:
https://www.outsystems.com/forums/discussion/92000/outsystems-data-grid-error-setviewlayout-when-changing-tabs/
I hope this helps
Thanks