Q regarding Screen element "Static Table v2. How to use function/count?

I have a question regarding the CS screen element "Static Table v2."

It is possible to add groups either manually or by script.

HtmlEleement table = ....

table.setFieldValue("addGroup", Map().insert("column", 1));

But what about Functions? I would like to use the count function so it counts all values for each group.

The feature exists if I do it manully but nothing happens in the screen.

By script it does not seem to be possible, at least there are no such script method according to the documentation.

Is this a bug or do I need to use some undocumented parameters to be able to add counting functions i this screen lement?

RE: Q regarding Screen element "Static Table v2. How to use function/count?

Hi Gustav,

We do not support adding functions programmatically, and looks like you have found an issue with manually adding functions as well.

Suggest that you log a wish for expanding support for adding functions and correct faulty behaviour.

By: Michel Krohn-Dale 15 Oct 2020