I have been working on implementing a detailslist based pcf component which is to be used for dataverse as well as for non dataverse based dataset.
No I have read the documentation for the PCF API reference and it clearly says sorting is only supported for the Dataverse datasets.
Is there a way that I can implement sorting when the dataset is of non dataverse type. One such example is I have a collection which is populated from json reply from an API, how can I implement sorting on such dataset?
Any guidance is highly appreciated.
Yeah, this is an easy one. Just don't use the PCF API sorting capability.
Instead, take your result data and push it into a normal array, then use .sort on that object. Now you have no dependency on the database because it is all happening client-side.
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72