Oracle APEX 样式 APEX_ITEM 动态表单元素 [英] Oracle APEX style APEX_ITEM Dynamic form elements

查看:127
本文介绍了Oracle APEX 样式 APEX_ITEM 动态表单元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对这篇文章有以下说明https://apextips.blogspot.com/2015/05/building-dynamic-forms.html 关于如何在 APEX 中创建动态项目.文档 https://docs.oracle.com/cd/E59726_01/doc.50/e39149/apex_item.htm#AEAPI192 很清楚如何创建项目,但我不知道如何使项目看起来像原生 APEX 项目.

I have following instructions on this post https://apextips.blogspot.com/2015/05/building-dynamic-forms.html on how to create dynamic items in APEX. The documentation https://docs.oracle.com/cd/E59726_01/doc.50/e39149/apex_item.htm#AEAPI192 is clear on how to create the item but I cannot figure out how to make the item look like native APEX items.

我曾尝试复制可以看到附加到本机项目的不同 CSS 类,但在我的一生中,我无法让动态创建的表单元素看起来和行为相同.

I have attempted copying different CSS classes I can see attached to the native items but for the life of me, I cannot get my dynamically created form elements to look and act the same.

任何帮助将不胜感激.

推荐答案

如果您使用的是 Chrome 浏览器,那么获取所有样式的最简单方法是使用浏览器复制样式.

If you are using Chrome Browser, then the easiest way to get all the styles is to use the browser Copy styles.

右键单击本机创建的项目并选择检查.右键单击元素"选项卡下的选定 HTML 元素,然后转到 复制 => 复制样式

Right click on an item created natively and select Inspect. Right click on the selected HTML element under Elements tab and go to Copy => Copy styles

这将为您提供与本机项目关联的样式.现在将这些样式分配给您动态生成的项目.

This will get you the styles associated with the native item. Now assign those styles to your dynamically generated item.

您需要为每个项目类型执行此操作.

You need to do this for every item type.

最好的问候,萨利姆

这篇关于Oracle APEX 样式 APEX_ITEM 动态表单元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆