Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
151283 | Feb 5,2020 09:53 PM UTC | Feb 7,2020 12:22 PM UTC | ASP.NET MVC | 3 |
![]() |
Tags: Grid |
function onGodinaChange(args) {
var god = $("#cboxGodina").val();
var obj = $("#gridPlan").data("ejGrid");
var src = '@Url.Action("Data", "Grid", new { area = "" })';
$.ajax({
cache: false,
url: src,
data: { "Godina": god },
type: "get"
}).done(function (data) {
obj.model.dataSource.dataSource.json = ej.parseJSON(Data);
obj.refreshContent();
}).fail(function(xhr, status, error) {
var err = eval("(" + xhr.responseText + ")");
alert("fail");
});
} |
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.
This page will automatically be redirected to the sign-in page in 10 seconds.