Hi,
I have a Grid component that I am trying to bind to a remote data source but nothing seems to be binded after the API call is made.
I have verified that that API call is successful and data is returned.
Here is a sample of the response data:
{"ReportData":[{"TradeDate":"2024-06-10T00:00:00",
"SettleDate":"2024-06-10T00:00:00",
"KnowledgeDate":"2024-06-10T00:00:00"}], "TransactionDataSource":{"ReportExtractType":"Transactions"}}.
I understand that the grid component expects the API response to have a properties for "result" and "count" , otherwise the data will not bind. However I do not have control over the API and so cannot make any changes to the response.
What are my options? Is there a way to take the response and massage it before it's binded to the grid? I.e. Rename ReportData to result and add a new property for count?
Attachment:
src_5fe525d5.zip