No records to display -PROBLEM

Hello,
What iam missing?

Here is my data callback:


What can be wrong? 

And yes, Iam using: 
services.AddMvc()
                .AddJsonOptions(options => options.SerializerSettings.ContractResolver = new Newtonsoft.Json.Serialization.DefaultContractResolver())

3 Replies

BS Balaji Sekar Syncfusion Team January 19, 2021 03:55 AM UTC

Hi Mantas, 
 
Greetings from the Syncfusion support. 
 
We checked your query with provided the information and we need the following details so please share to us that will help to validate further. 
 
  1. Share the Grid rendering code definition
  2. Ensure the Syncfusion Essential Studio version.
  3. Ensure the EJ2 script version(ej2.min.js)
 
Regards, 
Balaji Sekar 



PH Philipp May 10, 2023 02:58 PM UTC

Hi, 

I ran into the same probelm.
 Adding following to the program.cs helped in my case. I used .net core 7..



// Add services to the container.

builder.Services.AddControllersWithViews()

            // Maintain property names during serialization. See:

            // https://github.com/aspnet/Announcements/issues/194

            .AddJsonOptions(options =>

                options.JsonSerializerOptions.PropertyNamingPolicy = null);



MS Monisha Saravanan Syncfusion Team May 12, 2023 09:08 AM UTC

Hi Philipp,


Thanks for the update. We are glad to hear that the reported issue has been resolved on your own after including the mentioned line. If you still have further queries kindly get back to us as always we will be happy to assist you.


Loader.
Up arrow icon