We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

grid can't display data getting from controller

i'm tired to display data from webApi in my grid component here is my code





fiddler return :






I need the help,

thanks!




1 Reply

PS Pavithra Subramaniyam Syncfusion Team April 24, 2023 09:49 AM UTC

Hi Mustapha,


Greetings from Syncfusion support.


Based on your query, we would like to inform you that while using OdataV4Adaptor, the response returned from the OData service must be in the below format from which the count and data are assigned to the Grid to bind data.

 



So, we suggested returning the response object in the above-mentioned format to bind the data properly in your Grid application while using OdataV4Adaptor.


More details on this can be checked in the below documentation link,


Documentation Link: https://ej2.syncfusion.com/angular/documentation/grid/data-binding/remote-data#odata-v4-adaptor---binding-odata-v4-service


Please get back to us if you need further assistance.


Regards,

Pavithra S

If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.




Loader.