I am using fluentUI DetailsList control (https://developer.microsoft.com/en-us/fluentui#/controls/web/detailslist) to display records in a grid and its working fine.
The only issue we are facing is pagination in the DetailsList. The reference link we are using to implement this is https://www.alphabold.com/develop-pcf-control-using-ms-fluent-ui-and-react/. We have implemented this by using custom pcf field control.
I am not sure this is the correct way to display entity records if there is no direct link with the entity where we are displaying this list on form. There is no direct relationship between the entities.
So I cannot create a view on entity which I can display in subgrid and create custom pcf dataset control which can display pagination.
Is there any way we can add pagination to DetailsList or some other component like dataset can be used for this requirement?
Please help here