开发者

How to set Richfaces datascoller Max Page Size?

开发者 https://www.devze.com 2023-03-10 19:14 出处:网络
We ar开发者_Go百科e developing web based java application. Richfaces used as library.And we have datatable

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

精彩评论

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