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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Does not work in my GRID JSON, tha App crashhh

Thread ID:

Created:

Updated:

Platform:

Replies:

117182 Aug 30,2014 04:39 PM UTC Sep 10,2014 11:38 AM UTC ASP.NET MVC 7
loading
Tags: Grid
Jesus Sanchez
Asked On August 30, 2014 04:39 PM UTC

Hi,

I have my GRID that is filled with a DataSource without data. When I apply a filter to this DataSource to make data the application break Why?
Can you help me??

Attachment: SyncfusionGridJSON_70e42945.rar

Jesus Sanchez
Replied On August 31, 2014 05:59 AM UTC

Note that when we apply the filter 'USA' or 'UK', although there are data on my DataSource does not update the Grid. If we click on any of the filter breaks down the App.
On the other hand, if the DataSource in the first there are data, not empty, the App works correctly, why?
Can you help me?

Jesus Sanchez
Replied On August 31, 2014 06:48 AM UTC

I changed the example using @{Html.RenderPartial ("_Grid");}, and now if it is working correctly. But, why does not it work with JSON?, which is the best way to do it?

Attachment: SyncfusionGridRenderPartial_24ecc1aa.rar

Mohammed Farook J [Syncfusion]
Replied On September 2, 2014 05:56 AM UTC

Hi Jesus Sanchez,

 

Thanks for using Syncfusion products.

 

Please find the response.

 

Query

Response

@{Html.RenderPartial ("_Grid");}, and now if it is working correctly. But, why does not it work with JSON?, which is thebest way to do it?

Query #:We have analyzed your requirement “JSon data is not working”

 

We have suspect that missing Url binding  and Adaptor in the dataSource.

Please use the Url binding and Adaptor to get json data and bind to the dataSource. please find the code snippet.

 

 

[cshtml]

.Datasource(ds => ds.URL("Home/AplyFilter").Adaptor("UrlAdaptor"))

 

Query #:which is thebest way to do it?

 

Json data is best because it loads and refresh only grid data  alone. But RenderPartial is render all the grid elements in every grid action.

 

 

Please let us know if you any queries,

 

Regards,

J.Mohammed Farook


Jesus Sanchez
Replied On September 3, 2014 02:47 PM UTC

Solved my problem using the version 12.2.0.39, but... Now I have another problem with this new version:
I've changed the Localization of my Grid (es-ES), but does not work correctly the format of my columns:
1 ° the currevcy for "es-ES" is not "$"  "€"
2 ° the digital point is "." and no ","
3 ° the digital comma is "," and not "."
4º The day of the weeks: "Lunes" no "Moday", etc ...
How I fix this?. In the previous version it worked properly but it doesn't work in the 12,2,0,39

You should be:
41,95€
34,24€
25,36€
..,..€
.....



You should be:
"Viernes, 11-1996" and no "Friday, 11-1996"
....
etc...

Can you help me??

Attachment: SyncfusionGridJSON__V.12.2.0.39_9e59e0a6.zip

Mohammed Farook J [Syncfusion]
Replied On September 4, 2014 12:05 PM UTC

Hi Jesus,

 

We have analyzed the provided sample and the suspect that your missing “Globalize.culture("es-ES")” declaration in your sample. We have modified the code and attached sample ”EjGrid with Globalize culture options”. Please find the code snippet.

 

[view]

@(Html.EJ().Grid<samplelocalef_117182.OrdersView>("Grid")

             . . .

 

          .ClientSideEvents(eve => eve.Load("loadCulture"))

          

           )

<script type="text/javascript">

    function loadCulture() {

 

        Globalize.culture("es-ES")

       

       

    }

</script>

 

Also please ensure to refer the globalize.culture.es-ES.js script file in your project and follow the below order while referring the scripts. Please refer the below code snippet for more information.

[In _layout.cshtml]

<link rel='nofollow' href="@Url.Content("~/Content/themes/ej.widgets.core.min.css")" rel="stylesheet" />

<link rel='nofollow' href="@Url.Content("~/Content/themes/ej.theme.min.css")" rel="stylesheet" />

<script src="@Url.Content("~/Scripts/jquery-1.10.2.min.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/jquery.easing-1.3.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/jquery.globalize.min.js")" type="text/javascript"></script>

@*the culture file to be added after the jquery.globalize.js file*@

  <script src="@Url.Content("~/Scripts/cultures/unminified/globalize.culture.es-ES.js")"></script>

<script src="@Url.Content("~/Scripts/jsrender.min.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/ej.web.all.min.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/ej.unobtrusive.min.js")" type="text/javascript"></script>

For your convenience we have created a sample and the same can be downloaded from below link.

 

Sample location: samplelocalef_117182.zip

 

Please Let us know if you have any queries,

 

Regards,

J.Mohammed Farook


Jesus Sanchez
Replied On September 9, 2014 04:55 PM UTC

Thanks ..

I have seen that you have released version 12.2.0.49, which new features have you added?,
Have you fixed the bug: 'Issue with GroupSummary value when grouped column has more records than pageSize'??

Thanks


Mohammed Farook J [Syncfusion]
Replied On September 10, 2014 11:38 AM UTC

Hi Jesus,

 

Please find the response.

 

Query

Response

I have seen that you have released version 12.2.0.49, 

which new features have you added?

We didn’t have added a new feature in 12.2.0.49 Service pack released.

 

Have you fixed the bug: 'Issue with GroupSummary value when grouped column has more records than pageSize'??

We are sorry for the inconvenience caused.

As we are facing more complexity while fixing the “Issue with GroupSummary value when grouped column has more records than pageSize” , we are unable to include the fix in our Volume 2, 2014 Service Pack 2 release. We will include the fix for this issue in Volume 2, 2014 Service Pack 3 release.

 

Please Let us know if you have any queries,

 

Regards,

J.Mohammed Farook


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

;