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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid doesn't show any rows

Thread ID:





126945 Oct 18,2016 12:54 AM UTC Oct 19,2016 06:50 AM UTC ASP.NET Web Forms 3
Tags: Grid
R Brian Lindahl
Asked On October 18, 2016 12:54 AM UTC

I'm trying to get started with EJ/MVC and, to be honest, having a lot of trouble. I created a new MVC app, and followed the instructions here for how to make it into a Syncfusion app. I'm using Entity Framework with "code first" modeling.

I have a model:

    public class Group
        public Guid GroupID { get; set; }
        public string Name { get; set; }
        public int SortOrder { get; set; }

and a controller/view, scaffolded by the "add controller" menu, to which I added a grid:

@model IEnumerable<WebApplication4.Models.Group>

    ViewBag.Title = "Index";


    @Html.ActionLink("Create New", "Create")

        .Columns(col =>


<table class="table">
            @Html.DisplayNameFor(model => model.Name)
            @Html.DisplayNameFor(model => model.SortOrder)

@foreach (var item in Model) {
            @Html.DisplayFor(modelItem => item.Name)
            @Html.DisplayFor(modelItem => item.SortOrder)
            @Html.ActionLink("Edit", "Edit", new { id=item.GroupID }) |
            @Html.ActionLink("Details", "Details", new { id=item.GroupID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.GroupID })


I used the "create new" button to add a couple of rows. The rows show up in the scaffolded table, but the grid only shows the header & footer. It obviously knows that there ARE rows, as it says "2 items" in the footer. If I look at the page source, the rendered table just has a <tr> with empty <td>s in it.

I'm assuming that there is something simple and/or fundamental that I'm missing... any suggestions?


Ragavee U S [Syncfusion]
Replied On October 18, 2016 09:27 AM UTC

Hi Brian, 

Thanks for your interest in Syncfusion products. 

We have created a sample with Entity Framework Code-First approach and we are sorry that the issue is not reproduced at our end. The sample can be downloaded from the below location. 

Please try the above sample and if you still face any difficulties, please share the following details for our reference. 

1.       Video demo of the issue that you are facing. 
2.       Is there any script error or exception obtained? If so, please share the expanded screenshot of the error. 
3.       Essential studio version and browser version details 
4.       If possible, please reproduce the issue in the above provided sample and share. 

Ragavee U S. 

R Brian Lindahl
Replied On October 18, 2016 06:25 PM UTC

Turns out I was failing to include jsrender.min.js on my page. With it, it displays just fine. Thanks!

Ragavee U S [Syncfusion]
Replied On October 19, 2016 06:50 AM UTC

Hi Brian, 
Thanks for your update. 
We are happy that your issue is resolved. 
Ragavee U S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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