30
Views
2
Comments
[OutSystems Data Grid] Data Grid column is not visible after SetViewLayout was executed
OutSystems Data Grid
Forge asset by OutSystems
Application Type
Reactive

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

DataGrid Issue.oml
2025-09-25 14-38-22
Lokesh Kumar Yadav

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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.