[Data Grid]  Group column collapse to column

Forge Component
(35)
Published on 12 Feb (2 weeks ago) by OutSystems R&D
35 votes
Published on 12 Feb (2 weeks ago) by OutSystems R&D

Hi all,

When adding a columngroup to the grid, I want to show a column when this is collapsed. So not the first column in the columngroupbut a specified one of it. Does anyone know how I can do it?

In the documentation of the Wijmo Flexgrid I found this: https://www.grapecity.com/wijmo/api/classes/wijmo_grid.flexgrid.html#columngroups

One of the members is this one 'collapseTo'. Is there a manner to add this to the datagrid in Outsystems?

Wieger Kloppenburg wrote:

Hi all,

When adding a columngroup to the grid, I want to show a column when this is collapsed. So not the first column in the columngroupbut a specified one of it. Does anyone know how I can do it?

In the documentation of the Wijmo Flexgrid I found this: https://www.grapecity.com/wijmo/api/classes/wijmo_grid.flexgrid.html#columngroups

One of the members is this one 'collapseTo'. Is there a manner to add this to the datagrid in Outsystems?

Hi Wieger Kloppenburg,

Did you mean Pivot Table ?

https://www.outsystems.com/forge/component-overview/1141/pivot-table-traditional 

But in my project are using two-dimensional array or three-dimensional array to create column group (DataGrid).

Regards.


Hi Huyen,

No that is not what I want to achieve. When collapsing the column group, the first column of that specific column group is than only visible in the grid (that is fine). But I want to change that visible column to another column in that column group

Regards

Wieger Kloppenburg wrote:

Hi Huyen,

No that is not what I want to achieve. When collapsing the column group, the first column of that specific column group is than only visible in the grid (that is fine). But I want to change that visible column to another column in that column group

Regards

Thanks Wieger Kloppenburg,

I got your idea. But I haven't tried it yet, I will research it when I have time. 

If you have solved it, please let me know.

Regards,