Aggregation programatically in DataGrid

Hello everyone. I’m adding columns to dataGrid programatically and after trying to aggregate this column by SUM type. But studio prints that there is must be at least one feild to aggregate. I fetching column, after setting via setAggregate() aggregate type SUM. But problem stays
2022-02-14_23-25-45

2022-02-14_23-04-14

Hi,

We will be able to help you if you attach a small demo project that demonstrates the issue.

Regards,
Gleb