I'm using CSWP and I want to implement a navigation bar from where the user can customize the number of items to show (dropdown list) in the current page (this setting is configured in the web part configuration as Number of items to show option).

Navigation bar with dropdown list

Web Part config - items to show

The logic for page number is already done but I don't know what's the name/value of the 'number of items to show' property and how can pass or use this value in the display template to change the number of items per page. Any help would be appreciated.

Your Answer

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

Browse other questions tagged or ask your own question.