cellBrowser 放置在复合材料中 - 我是否必须直接附加到 rootpanel(或 rootlayoutpanel)
当使用 cellbrowser 并将该小部件添加到流程面板(放置在下游的任何位置)时,由于某种原因,最终结果是死的(空白屏幕)...与如果我直接添加到根面板(或布局面板)相比
when using a cellbrowser and adding that widget to a flowpanel (to be placed wherever, downstream), for some reason the end result is dead (a blank screen)...vs if I add directly to the rootpanel (or layout panel)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
也有同样的问题。我必须使用
作为CellBrowser
的父级(如 GWT 展示中所示)。Also had the same problem. I had to use a
<g:HTMLPanel>
as the parent of theCellBrowser
(as seen in the GWT Showcase).您有一些可以重现此问题的示例代码吗?
Do you have some sample code that will reproduce this?
下面是复合材料的代码...本质上,我想做的是在另一个类中,将此复合材料附加到 flowpanel 并用它做任何事情...但是,现实是,我必须直接附加到 RootPanel(或 RootLayoutPanel)...任何其他抽象都会导致它放弃,
例如
below is the code for the composite...essentially, what I'd like to do is in another class, attached this composite to a flowpanel and do whatever with it...but, the reality is, I have to attach is directly to the RootPanel (or RootLayoutPanel)...any other abstraction causes it to bail
for example