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!

Dynamic content created using htp.p() or apex_item() is not responsive

yokanand tJul 5 2016 — edited Jul 5 2016

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2016
Added on Jul 5 2016
3 comments
2,073 views