Extending Sitecore Page Selector Component in SXA
Hello everyone, I am back with another blogpost. This time we will discuss about one of the Sitecore SXA default OOTB component Page Selector and how we can extend it. We all know that implementing pagination is one of the crucial requirement whenever we have some listing implementation on our website. Listing example can be, showing all related search results when someone search for any text on website. In SXA, we all know to implement pagination we can go for SXA OOTB Page Selector component. Page Selector component only needs the search signature and in datasource field we give the default data item for showing the pagination component. This component is binded to your Search Result component using the Search Signature to show the result count according to the pagination parameter to paginate define in the Search Result component. But sometime we have some extra requirement which cannot be achieved using default component. For ex. Like we need to scroll to top of the search re...