Get Aggregation Results of a column


I have a table that has two columns (name) and (price aggregation type=“SUM” ).
How can i get to store the Aggregation Results of column (price ) to another integer variable (total price) so i’m able to use it else where.


You can use the Table#getAggregationResults method to obtain the aggreagation results.



I am learning programming.

I have created a table with a collection type data source and it has two columns Name and Age

The Age column is editable but when the user inputs a value it is not saved in the database.
How can i capture the input of a user such that i can store them to an int list when the OK button is clicked so i can access them later


Could you please create a separate topic since your question isn’t related to this one?