支持在 smartGWT 中为 ListGrid 进行分页吗? [英] Support of pagination in smartGWT for ListGrid?

查看:20
本文介绍了支持在 smartGWT 中为 ListGrid 进行分页吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过一些研究,我注意到 smartGWT 不支持 ListGrid 中的分页,而只支持动态滚动.但是如果我真的需要分页,我该如何实现呢?

I have noticed after some research that smartGWT don't support pagination in the ListGrid but only dynamic scroll. But if I really need pagination, how can I achieve this?

假设我想要这样的下一个"和上一个"按钮:

Let's say I want something like this with the "next" and "previous" buttons:

http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable

PS:这个例子是在 GWT 中,我想要的是类似但在 smartGWT 中的东西

PS: This example is in GWT, what I want is something similar but in smartGWT

推荐答案

很抱歉 SmartGWT 中没有分页组件.但是有些好心人写了一个叫做 GridPager 的组件,我认为它可以满足您的要求.

I'm sorry that there is no Paging component in SmartGWT. But some nice guy has written a component called GridPager, which could meet your requirement, I think.

GridPager 应该与 ListGrid 一起使用.

GridPager should works with ListGrid.

您可以通过谷歌搜索找到组件的信息.

You can find the information of the component by googling.

还有关于SmartGWT的分页功能的讨论,我觉得有帮助.网址是 http://forums.smartclient.com/showthread.php?t=3103

There is also a discussion about the paging function of SmartGWT, I think it helps. The url is http://forums.smartclient.com/showthread.php?t=3103

讨论中也提到了GridPager.

GridPager is also mentioned in the discussion.

这篇关于支持在 smartGWT 中为 ListGrid 进行分页吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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