Hi All,
I want to create text fields,labels, checkboxes dynamically when user selects a value from dropdown. I am able to create dynamic contents using htp.p() / apex_item(), but the contents are not responsive.
I also tried giving item attributes such as class="number_field"/ class="text_field" in apex_item(), but it did not work.
Code:
select
APEX_ITEM.TEXT(3,parametervalue,null,null,'class="number_field", style="text-align:left"') parametername,
apex_item.checkbox2(4,parameter,'class="checkbox_group"') || parameter as "test",
APEX_ITEM.TEXT(5,parametervalue,null,null,'class="number_field", style="text-align:center"') parametername2
from prob_data_spiel
I tried creating contents using htp.p(), but the items are still not responsive.
Code:
htp.p(APEX_ITEM.TEXT(1,'Parameter1',null,null,'class="number_field", style="text-align:left"'));
also,
htp.p('<input type="text" class="number_field", style="text-align:left">');
PS: I am using Apex Universal Theme (42) in my application.
When I debug the application, I could see that everyfield is associated with a class, but they are not responsive. I do not have any idea why are they not responsive. Am I doing it correctly.
Are there any other way to create dynamic contents.
Thanks,
Yok