BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
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
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
Hi Pawel
We regret for the inconvenience caused.
Please find the attachment below.
Attachment: Sample_e5d37844.zip
Regards
Ragavee U S