oracle-adf - af:table 在将数据添加到表后未对齐标题
问题描述
我有一个 af:table 如下:
<f:facet name="first" >
<af:panelCollection id="pc1" styleClass="AFStretchWidth"
binding="#{pageFlowScope.bean.pg}">
<af:table value="#{bindings.list.collectionModel}"
var="row" columnStretching="multiple"
selectionListener="#{pageFlowScope.bean.selectListner}"
selectedRowKeys="#{bindings.list.collectionModel.selectedRow}"
rowSelection="single" width="100%"
rows="#{bindings.list.rangeSize}"
autoHeightRows="1">
<af:column width="21%"
headerText="#{Bundle.data1}">
<af:outputText value="#{row.data1}" id="ot2"/>
</af:column>
<af:column width="20%"
headerText="#{Bundle.data2}">
<af:outputText value="#{row.data2}"
id="ot1"/>
其他列也是如此
问题是在我向表格中插入多行后,出现滚动条,并且标题与内容未对齐,如下图所示:
解决方案
推荐阅读
- unity3d - Unity 和 Google 的 Blockly 库集成
- android - 使用 okhttp 和 okio 下载 pdf
- javascript - 如何修复 JavaScript 中的“TypeError:无法读取未定义的属性‘map’”?
- python - 给定一个由 N 行和 M 列整数组成的零索引矩阵 A,编写一个函数,返回矩阵 A 的平衡点数
- javascript - 从 JSON 创建动态 Yup 验证模式
- javascript - 从 google-sheets 数据自动填充 google sheet 模板
- python - 为什么我的 python 多进程程序只在一个内核中运行?
- rest - 限制用户访问 api 调用?
- javascript - 如何从 ReactJS 中的辅助函数正确访问“承诺”值
- firebase - firebase_auth: ^0.11.1+7 依赖使我的颤振应用程序崩溃