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

Implementation of Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

116836 Jun 16,2014 10:48 AM UTC Jun 18,2014 03:37 AM UTC ASP.NET MVC 2
loading
Tags: Grid
PawelS
Asked On June 16, 2014 10:48 AM UTC

Hi,

I'm testing trial version Syncfusion controls (12.1.0.49) for ASP.NET MVC. 

I try to implement simple Grid in my project, like this:

@model IEnumerable<MyData>

[View.cshtml]

@(Html.EJ().Grid<MyData>("Table")

      .Datasource(Model)

      .Columns(col =>

      {

          col.Field("Name").HeaderText("Name").Add();

          col.Field("Date").HeaderText("Date").Add();

      })

      .Render())

 

The Grid has a header and footer, but lacks content.

The Developer Tools in Google Chrome throws two errors in ej.web.all.min.js (version : 12.1.0.49).

Where did i do mistake?

 

Thanks


Ragavee U S [Syncfusion]
Replied On June 17, 2014 12:26 PM UTC

Hi Pawel

 

Thanks for using Syncfusion Products.

 

We have analyzed the view code that you have provided and suspect that the cause of the issue maybe not referring the globalize.js script file in your project. Since you have bound Date column in the grid and if you are setting the format for the Date but not referring the globalize.js script file, this issue would have aroused.

 

Also, you have mentioned that two errors were thrown while executing your sample. Can you please provide the expanded error screen shot with the reported issue and also chrome browser version details. Please refer the following steps to take the expanded error screen shot

 

1. Open the developer tool in chrome

 

2. Select the Console tab

 

3. Expand the obtained error in the console and take the screenshot.

 

Please refer the below example screen shot


The information provided would help us to resolve the issue as early as possible.

 

For your convenience, we have created a simple sample in ASP.NET MVC(12.1.0.49) and the same can be downloaded from the attachment.

 

Please try this sample and get back to us if we have misunderstood your requirement or reproduce your issue in the sample attached.

 

Please let us know if you need any further assistance.

 

Regards

Ragavee U S

 


Ragavee U S [Syncfusion]
Replied On June 18, 2014 03:37 AM UTC

Hi Pawel

 

We regret for the inconvenience caused.

 

Please find the attachment below.

 

Attachment: Sample_e5d37844.zip

 

Regards

Ragavee U S


CONFIRMATION

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.

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

;