Jquery에서 검도 격자로 변환 할 div가 있습니다.Kendo 격자를 복잡한 데이터 소스에 바인딩
divSearchGrid.kendoGrid({
dataSource: {
transport: {
read: function (options) {
var webMethod = "Portal.aspx/DisplayNotes";
$.ajax({
type: "POST",
url: urlSearch,
data: paramsSearch,
async: false,
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (result) {
options.success(result.d);
}
})
}
}
},
batch: true,
selectable: "row",
autoSync: true,
editable: true,// "inline",
navigatable: true,
columnMenu: true
})
데이터 원본은 개체의 속성으로 다른 목록이있는 목록입니다.
예를 데이터 소스 : [{a,b,c,List,g,h,i,},{a,b,c,List,g,h,i,},{a,b,c,List,g,h,i,}]
및 상기 목적의 목록 구조
목록 다음했습니다
: 나는 다음과 같은 열이 내 검도 그리드를 표시 할 [{d},{e},{f}]
을 a, b, c, d, e, f, g, h, i
이 기능을 어떻게 수행 할 수 있습니까?
중첩 된 열을 편집 할 수 있습니까? –
'List'의 형식이 잘못되었으므로 키/값 쌍이없는 객체 배열이 있습니다 – dcodesmith
@ giltnerj0 예 중첩 된 열도 편집 가능 –