Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Summarizing IG column values dynamically

Eslam_ElbyalyJun 9 2023

Hi. I am using Oracle APEX 22.2.4.

I need to sum IG's column values whenever any cell's value in the column changes.

I am using the following code in the "JavaScript Initialization Code" attribute…

function(config) { 
config.defaultGridColumnOptions = { 
aggregates: ["SUM"]
}; 
return config; 
}

And it works fine if the IG already has rows coming from the database. But, if IG is empty, it has no affect. It does not sum up newly added rows. How to solve this?

This post has been answered by John Snyders-Oracle on Jun 18 2024
Jump to Answer
Comments
Post Details
Added on Jun 9 2023
20 comments
1,071 views