Editable Group Table with aggregation doesn't show group aggregations in edit mode


i’ve found a problem that has to do with a group table together with the editable mode and an aggregation.
When there is a groupTable that is editable and the column that is editable has additionally an aggregation defined, then the groups results are not displayed, only the total aggregation. Here’s an example of such a table:

<groupTable id="ordersTable"
		<action id="create"/>
		<action id="edit"/>
		<action id="remove"/>
			<column id="orderDate"/>
		<column id="netAmount"
			<aggregation type="SUM"/>
		<column id="amount">
			<aggregation type="SUM"/>
	<rows datasource="ordersDs"/>
		<button action="ordersTable.create"/>
		<button action="ordersTable.edit"/>
		<button action="ordersTable.remove"/>

The netAmount column here is the problem. The sum of netAmount is not shown on a per orderDate basis, but only for all orders. The amount column instead correctly shows the different sums for each orderDate.

Attached you will find the example app as well as a screenshot that shows the problem.

I thought that it is just not possible to show aggregations on a editable column, but since the total sum of netAmount is correctly displayed and additionally even updated on a change of the values, i think it is just a bug.

So it would be great if you can take a look at this.



cuba-problem-group-editable-table-aggregation.zip (36.5K)

Hi Mario,

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

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


Has this bug been fixed by now? I don’t see any further update and my groupTable is not working for aggregation as expected. It is only working for aggregation of the whole table but not SUM by groups. Thanks for any update.


Hi, the issue is not yet fixed, since it requires a lot of work inside of the component. Currently, we are not working on it.

@artamonov Any workaround suggestion?

Hi @mario
Did you resolved this by your side?