But now I’m building an admin backend(Gridview) that query from the API above. I know that I could just call the API and return the JSON data, use json_decode() and create an ArrayDataProvider and finally use it with Gridview. But what about the sorting, pagination and filtering/querying features?
What is the best approach? Any suggestion or help would be appreciated.
I’ve done Json result with ArrayDataProviders and display on GridView. I’m using the same approached to set Data Provider. Setting sort and pagination is same as ActiveDataProvider.