1
我具有低於例如代碼:上述劍道網格sortingI
$("#grid").kendoGrid({
dataSource: {
data: students,
pageable: false
},
scrollable: true
sortable: true,
selectable: true,
columns: [
{ field: "Name", title: "Name", width: 230},
{ field: "Sex", title: "Sex", width: 50 },
{ field: "Ca", title: "C.A." , width: 55 },
{ field: "TotolScore", title: "Totol Score", width: 100 },
{ field: "Rank", title: "Rank", width: 60 }
]
});
該代碼允許我做列的排序。但是我需要對「Rank」列做額外的特殊處理。我想要的是,當我點擊「排名」欄時,它會根據「TotalScore」值進行排序。
這可能嗎?
謝謝
感謝它的成功! :) – user3988645 2014-09-01 00:34:21