Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Grouping columns
When you specify GroupOrder, the columns are grouped, but the columns themselves are shown in the table.
When you drag a column from the column table to the group area, the grouping occurs as expected, but the column no longer is shown in the table.
Is there any way to keep the column visible when dragging to the grouping area.
Colin
When you drag a column from the column table to the group area, the grouping occurs as expected, but the column no longer is shown in the table.
Is there any way to keep the column visible when dragging to the grouping area.
Colin
Comments
A property which keeps the column visible on grouping would be better.
There is already an event which is fired, OnSelChange, but this fires on other triggers too.
I have added a workaround, as below, which seems to resolve for my situation, enforcing the column being visible, after dragging to the group area which makes it invisible.
The check is needed to prevent a loop.
OnSelChange:
FOR Column=1 TO DCOUNT(ColumnList,@FM)
Visible=Get_Property(CtrlEntId,"OLE.ColumnVisible[":Column:"]")
IF NOT(Visible) THEN
CALL Set_Property(CtrlEntId,"OLE.ColumnVisible[":Column:"]",1)
END
NEXT Column
RETURN