You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I look at how the data comes in, I see differences in it.
This is how it comes on devexpress: {"data": [{"key": "Arizona", "items": null, "count": 1, "summary": [1]}], "summary": [1]} {"data": [{"OrderNumber": 39420, "SaleAmount": 20500, "StoreCity": "Tuscon", "StoreState": "Arizona", "Employee": "Jim Packard", "OrderDate": "2013 / 12/28 "}]," summary ": [1]}
Also, within my script I have declared remoteOperations: true and the summary is declared like this: summary: { totalItems: [{ column: "city_key", summaryType: 'count' }] }
I use Django version 3.2.4 and djangorestframework version 3.12.4
The text was updated successfully, but these errors were encountered:
First of all, thank you very much for your contribution.
I have a problem with the summary and the totalItems. These are the steps that I perform in a data grid.
I have this codepen: (https://codepen.io/Diego_MF/pen/MWEpbbG) where I communicate with one devexpress api and all this that I tell you works well.
When I look at how the data comes in, I see differences in it.
This is how it comes on devexpress:
{"data": [{"key": "Arizona", "items": null, "count": 1, "summary": [1]}], "summary": [1]}
{"data": [{"OrderNumber": 39420, "SaleAmount": 20500, "StoreCity": "Tuscon", "StoreState": "Arizona", "Employee": "Jim Packard", "OrderDate": "2013 / 12/28 "}]," summary ": [1]}
This is how it comes from the DRF api:
{"data": [{"key": "City", "count": 1, "summary": [1], "items": null}]}
{"totalCount": 1, "summary": [1], "data": [{"city_key": "10001", "city_code": "bue", "city_name": "Buenos Aires"}]}
Also, within my script I have declared
remoteOperations: true
and the summary is declared like this:summary: { totalItems: [{ column: "city_key", summaryType: 'count' }] }
I use Django version 3.2.4 and djangorestframework version 3.12.4
The text was updated successfully, but these errors were encountered: