开发者

Magento grid default limit

开发者 https://www.devze.com 2023-04-03 05:15 出处:网络
In Magento grid When I use $this->setDefaultLimit(200); in grid.php it changes the selected value in pager to 200 but when a user changes it to some other value sa开发者_运维问答y 50 , even after refr

In Magento grid When I use $this->setDefaultLimit(200); in grid.php it changes the selected value in pager to 200 but when a user changes it to some other value sa开发者_运维问答y 50 , even after refreshing/clearing cache it doesnt set pager value to default 200, it remains 50. Where it is stored and how can it be overridden.


There is a method setSaveParametersInSession()

which allows you to disable storing variables in session

Look into Mage_Adminhtml_Block_Widget_Grid

0

精彩评论

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