Datagrid aggregate function

0
I am using the aggregate function sum for a specific column inside a data grid. The sum of all the values inside the column is then displayed at the bottom of the data grid.   Is it possible to display it in the very first row of the data grid?
asked
1 answers
3

Hm, you can probably do this with styling. The html of the datagrid looks like this:

The <td>3</td> is a summerization attribute here in a row called tfoot.

So using selector $(‘.mx-grid-content table tfoot tr:nth-child(2)’) or something like that, should get it. Then do some css magic to place it on top.

answered