Forum Discussion
SharePoint Framework need suggestions to implement paging and filteration
Hi Hamid,
SharePoint Framework by design support Office UI Fabric React components. I have used Office UI Fabric -https://developer.microsoft.com/en-us/fabric#/components/detailslist component for similar purpose by loading data with help of PnP JS Core library. With DetailList, you don't need to worry about paging as it only renders selective data in HTML DOM and as user scrolls the page, it loads the data without blocking user. You can bind whole data set in one go with DetailList and it will take care of render part. It also support search feature which you can implement easily.
Hi Rahul, thanks for the reply
Actually i need to load data on demand means when i click on next page then query should return the next page data. btw i'm able to done it using SharePoint search Rest API supported in PnP JS Core.