I have a component that displays a list of people. I want to limit the number of users displayed using pagination. My view therefore includes :
pagination- > getListFooter( ) <? Php echo $ this- > ? >
At the bottom of table, it displays all the records without limitation ( 20 for example).
So I change the method populateState model by adding :
$ Limit = $ app- > getUserStateFromRequest ( $ this- > context ' list.limit ' $ app- > getcfg ( ' list_limit ') . ) ; $ This-> setState ( $ this- > context .'list.limit ', 20 ) ;
It still does not work. All records are still displayed. I am completely lost. Can someone put me on the right track?