Turn aggregatable on/off at runtime?

Is it possible to turn aggregatable on/off at runtime using code?
Is there an example of how to accomplish this?

HI,

now it cannot be turn on/off at runtime.

Thank you for reporting the problem. We have created a YouTrack issue, see the link on the right.

I also discovered a potential problem regarding aggregatable.
Grouped columns values is behind/hidden when using aggregatable.
Have to resize columns to see values.
If aggregatable is turned off the value of grouped columns is at front.

Could you attach a screenshot to illustrate this problem?

Yes. I can attach a screen shot.
I have a good example showing the issue.

Here is the screenshot showing that:
When using aggregatable the rows is splitted by columns.
When not using aggregatable the rows is stretching across the whole table.
This result in the column to hide parts of the text when redusing the size of column.
This is not very convenient. The grouping steal to much space.

With aggregatable

Without aggregatable

It is the cosmetics issue, we will try to disable cell borders for group headers in the aggregation mode.

:ticket: See the following issue in our bug tracker:

https://youtrack.cuba-platform.com/issue/PL-8213