[Data Grid Web] Multi-level group not re-expanding properly after collapse
Question
Forge component by OutSystems R&D

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:


Thanks,

Coy Kissee

 

Hello @Coy Kissee,

This issue was solved on v2.17.3. 

Please let us know if this works for you.

Best regards,

Tiago Pereira

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

 

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:

groupsChangeStateClick
columnSelectRow

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

DataGridMultiLevelGroups.oml

@Tiago Miguel Pereira,

Did the latest update resolve this issue?

Thanks,

Coy Kissee

Hello @Coy Kissee,

This issue was solved on v2.17.3. 

Please let us know if this works for you.

Best regards,

Tiago Pereira

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