We have implemented a custom page that uses c8y-data-grid to display all the users in the tenant, we wanted to know if there is any way to apply the sort feature on User API, The columns we want to sort are username, email, and ID.
sorting users via the User API isn’t possible.
As a workaround you could use the local variant of the c8y-data-grid. In this case, you load all existing users of the tenant and set them on local
c8y-data-grid using the
rows parameter. The local data-grid already comes with basic filter and sortation capabilities.
Thanks a lot Christian for the answer