1

how can i set the custom limit for pager. this is adding the limit in page and page is showing but the dropdown on limit is not showing on page how to dropdown of limit on Custom Collection.

->setAvailableLimit(array(1=>1,2=>2,3=>3))

i tried this but not working

public function getAvailableLimit()
    {
        return array(1=>1,2=>2,3=>3);
    }
0

after spending many of hours i checked this is a css by default

.limiter {
    display: none;
}

so i have to overwrite in my module

.news-index-index .limiter {
    display: block !important;
}
  • I am trying to add pagination on my custom page , but the count is not working as expected , $pager->setLimit(36), how can I set it as dynamic which we are filling in admin?? – supriya mishra Jan 23 '17 at 8:38
  • @supriyamishra can you add question with your code so i can look at that – Qaisar Satti Jan 23 '17 at 8:55
  • Sure , I am adding – supriya mishra Jan 23 '17 at 9:15
  • @Qaiser Satti kindly look into this problem magento.stackexchange.com/questions/155959/… – supriya mishra Jan 23 '17 at 9:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.