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
Unfortunately, activation email could not send to your email. Please try again.
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Syncfusion Feedback

How to resolve the issue grid rendered with blank rows and correct record count.

Platform: jQuery |
Control: ejGrid


           In ASP.NET Core the Grid will be rendered with blank rows and also there will be no script error / reference error will be thrown in console window.




In ASP.Net Core the camel case issue cause to render the Grid with empty rows. This is because while serializing the JSON object the columns first letter will not be serialized properly (converted to lower case) which makes the column name different in server side and client side.



To overcome this issue kindly follow either of the below solutions


  1. Insert the below suggested code into your startup.cs file of your application and run the application.




Refer the below screenshot for the full code snippet of the suggested solution.







2. You can also render the Grid by specifying the columns field name in camelCase. (i.e.) in server side the column name will be defined as OrderID, CustomerID. But while rendering the Grid, specify the Field property as ordedID, customerID. 




Output Screenshot:



You must log in to leave a comment
Mahbubur Rahman
Apr 13, 2019
<p></p><div class="pasteContent" style="display:inline;"><p>Cannot implicitly convert type 'System.Collections.Generic.IEnumerable&lt;object&gt;' to 'object[]'. An explicit conversion exists (are you missing a cast?)</p> <p>i am getting this error</p> </div><br><p></p> Reply

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile