Fórumok

AlloyUI Paginator - rowsPerPage question

Henry K, módosítva 13 év-val korábban

AlloyUI Paginator - rowsPerPage question

Junior Member Bejegyzések: 40 Csatlakozás dátuma: 2010.01.27. Legújabb bejegyzések
Hi all--

I hope this is the correct forum for this question; I couldn't find another place to post this.

I've been experimenting with AlloyUI and like it a lot! I've been able to set up a paginator, but it only displays one row at a time. The rowsPerPage attribute will correctly configure the pagination links, but the display of content remains at one.

For an example of what I mean, see the demo at http://alloy.liferay.com/demos.php?demo=paginator . If you change the rowsPerPage using the rowsPerPageOptions select box (1,3,5,7), the number of rows that constitute a page remain at one. I'd thought that if you choose 5, then the content for Pages 1 - 5 would appear in the content box on the first page and Pages 6-10 would appear on the second, but the content just shows Page 1 and then Page 2.

Is there a setting missing or something?

Thanks for any assistance you can provide. I'd really prefer to use AlloyUI than importing jQuery.

--Henry