【发布时间】:2016-01-25 11:51:29
【问题描述】:
我有一个要求,我想用复选框显示机会字段。 我已经使用 selectCheckBoxes 完成了这项工作,但我无法在我的 Vf 页面中的一个小框中显示内容,并带有滚动条,如图所示enter image description here 但我得到的列表如下:enter image description here
示例代码---
<apex:pageBlockSectionItem >
<apex:outputPanel >
<apex:outputLabel value="Choose the query fields below." ></apex:outputLabel>
<apex:outputPanel >
<apex:selectCheckboxes layout="pageDirection" value="{!getfieldname}" borderVisible="true" >
<apex:selectOptions value="{!listCustomFields}"></apex:selectOptions>
</apex:selectCheckboxes>
</apex:outputPanel>
</apex:outputPanel>
谁能帮我解决这个问题?
【问题讨论】:
-
为字段集添加了样式,现在它的工作
标签: salesforce apex-code visualforce