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!

apex_item.radiogroup

671590Nov 20 2008 — edited Dec 10 2008
Hi,
I need help regarding the apex_item.radiogroup.
I am fetching the data from table in report region. There is one status column which has either 'A' active or 'I' inactive. corresponding to one unique record we can have multiple subrecord and
only one is active. In the report region i am trying to show the active and inactive radiobutton per row. and if select any row as active in the report other rows radiobutton should be inactive so once i hit the update button i don't have to think which all other went to inactive.

my query looks like

select apex_item.hidden(10, primary_key) || record,
apex_item.radiogroup(3, h.status,'A', 'Active')||apex_item.radiogroup(3, h.status, 'I', 'Inactive'),
case when rec_flag = 'N' then 'NO' else 'YES' end "flag"
from table

If there is 4 rows selected based on this query only one row radio button is highlighted.

I am new to apex and need your help.
This post has been answered by ATD on Nov 21 2008
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2009
Added on Nov 20 2008
9 comments
1,870 views