如何将Widget作为单元格添加到单元格表GWT中 [英] How to add Widget as a Cell in Cell Table GWT

查看:191
本文介绍了如何将Widget作为单元格添加到单元格表GWT中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我使用Cell表来显示一个UI Binder类的实例列表我的(例如:LocationView)。
教程解释了如何做到这一点。


Now I'm stuck in issue of pagination the widgets in GWT.

I'm using Cell table to display a list of instances of an UI Binder class of mine (Ex: LocationView). http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable This is the showcase of the CellTable.

Now I want to add my widget (UI Binder class) to each cell of the table . It will look somehow like this

In this Cell Table, each cell is this widget (LocationView - an UI Binder Class):

So How can I create this table using cell table (I do not use grid view because it's not supported pagination)

or If I can not use Cell table to create this table, what I can use to it that supports pagnigation (if the number of LocationView (The icon you see) is over 6, it will jump to page 2).

Thank you for your help!.

解决方案

Creating custom cells tutorial explains how to do that.

这篇关于如何将Widget作为单元格添加到单元格表GWT中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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