apex_item.radiogroup
671590Nov 20 2008 — edited Dec 10 2008Hi,
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.