You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grid에서 데이터를 삭제하고 select를 하여 json을 받아 grid를 relode를 하려합니다.
deleteItem: function (index) {
var item = this.target.list[index];
var test = Object.values(item)[1];
$.ajax({
type : "POST"
, url : "./admin/memDelete.jsp?mem_email="+test
, dataType : 'json'
, success : function(data) {
var jsonStr = JSON.stringify(data);
//grid div를 reload 하는 부분
1번 방법
$('#AXGridTarget').html(jsonStr);
2번 방법
grid.target.setList(jsonStr, null, "reload");
}
, error : function() {
alert("error");
}
});
},
Ajax를 통해서 div를 reload를 하려고 합니다.
그런데 그리드는 초기화가 되지만 데이터가 나타나지 안습니다..
json에 데이터도 잘 출력이 되고하는데 제가 무엇을 빠트려서 데이터가 출력이 안되는지 알려수ㅕㅆ으면 합니다..
The text was updated successfully, but these errors were encountered:
grid에서 데이터를 삭제하고 select를 하여 json을 받아 grid를 relode를 하려합니다.
deleteItem: function (index) {
Ajax를 통해서 div를 reload를 하려고 합니다.
그런데 그리드는 초기화가 되지만 데이터가 나타나지 안습니다..
json에 데이터도 잘 출력이 되고하는데 제가 무엇을 빠트려서 데이터가 출력이 안되는지 알려수ㅕㅆ으면 합니다..
The text was updated successfully, but these errors were encountered: