开发者

How to set Richfaces datascoller Max Page Size?

We ar开发者_Go百科e developing web based java application. Richfaces used as library.And we have datatable

with datascroller. For now I can send current datascroller index to the backed bean.But the

problem is I can not set list size to datascroller(or databable).

Can anyone give a clue?or source please?

Thanks in advance.


If you are talking about pagination, try setting <rich:dataTable rows="10" /> or however many rows you want.

If you just want to minimize the number of records that are available, just edit your SQL query: SELECT TOP 10 * FROM foo.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜