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!

How to programatically show/hide a button when IG is in Report View/Single row modes

PaulPNov 23 2022 — edited Nov 23 2022

APEX 21.2, Ora 19.2, ORDS 21.2.0.r1741826
I have an IG and by default it starts in Single row view.(https://stackoverflow.com/questions/54810442/how-to-set-single-row-view-as-default-in-oracle-apex or https://doyensys.com/blogs/single-row-view-in-apex-report/)
When in Report View mode, I have implemented code so users have the ability to use the Row Selector to select the PK values and then save them to another table by clicking on a "Save Selected" button. (https://www.foxinfotech.in/2019/10/oracle-apex-interactive-grid-get-selected-rows-example.html)
Question...how do I hide the "Save Selected" button and any other components when an IG is in Single Row mode and show it in Report View? What Javascript code would I use in hide/show actions for the DA?
thanks in advance
PP

This post has been answered by Hamza Al-abbasi on Nov 23 2022
Jump to Answer
Comments
Post Details
Added on Nov 23 2022
2 comments
1,838 views