[Data Grid Web] Multi-level group not re-expanding properly after collapse
Forge component by OutSystems R&D
Published on 14 Dec 2020

I have a multi-level group set up as follows:

The Metrics group is made up of five groups of two columns each.  After collapsing the Metrics group, and re-expanding it, the columns do not re-expand properly:

It appears that it is only taking the immediate next level into consideration when the group is expanded rather than all group levels.  The lower group levels are all defined as:


Coy Kissee


Rank: #667

Hello Coy Kissee,

Thanks for bringing this subject to the discussion and for the explanation.

We are going to analyze your request and let you know as soon as we have a solution.

Thank you,

Tiago Pereira


Rank: #667

Hello Coy Kissee,

We analyzed your request and there was in fact a problem with the method that allowed the collapsing of the columns when the Grid contained more than one level of grouped columns. We plan to fix this issue on our next release.

Nevertheless, I created a sample just to illustrate how you can accomplish a workaround type of solution, could you please check the sample attached to this message?

For this workaround, you can use the sample as an example. You can include a Web Block containing the method that you want to replace. (This block is included in the sample attached). Or you can just insert the code into the Javascript associated with the Sample.

Inside the Web Block you can see that we have two methods:


The first one is a new method that will be invoked by the second one. The "columnSelectRow" is actually a method that we already have in our component and using this block you will be replacing it. Feel free to create your own method.
We intend to fix this on the next release of the component.

Hope this sample is useful. 

Once again, thank you for the post and for bringing this subject to the discussion.

Tiago Pereira