XPages DojoDataGrid 不适用于 bootstrap 主题

XPages DojoDataGrid does not work with bootstrap theme

İ 需要将 dojoDataGrid 与 bootstrap 主题一起使用。但它不适用于 bootstrap。有解决办法吗?

如果我使用 OneUI2 或更低版本,DojoDataGrid 会使用自定义 Rest 服务显示所有数据

如果我尝试使用 OneUI 2.1 及更高版本,特别是任何版本的 Bootstrap 主题应用程序 DojoDataGrid 不显示数据...

我必须使用自定义休息服务 (similar to this) 从不同的数据库和不同的视图中获取数据到 DojoDataGrid

似乎是比 OneUI 2.0 更新的主题的问题。如果您在 djxDataGrid 控件上设置高度,则可以绕过它。我刚刚在 9.0.1 FP5 + ExtLib 15 上对此进行了测试,因此结果可能因旧版本而异。

<xe:djxDataGrid id="djxDataGrid1" store="dataStore" style="height: 500px;">

编辑:我想我更喜欢下面 Knut 的建议使用 autoHeight,因为这实际上是一个 dojo 属性,并指定要在网格更直观。

<xe:djxDataGrid id="djxDataGrid1" store="dataStore" autoHeight="20">