Hi, i'm working with Interactive grids Apex version 5.1.2. In my application i have created the aggregate sum option on one of the columns as shown in below figure.

When i insert contract start date and contract delivery date based on these two values i am calling a procedure which calculates and inserts value in to contract charge amount. But my problem is the aggregate sum is still showing 0 even though i get the values for contract charge amount. Kindly see below image

Kindly need your help in fixing this and would like to know where i am doing wrong.