在這裏我已經編寫了基於id獲取CategoryName值的存儲過程,值來自印度,美國,巴西直至服務,但是在UI部分中,值自動按字母順序排序展示美國,巴西,印度等團體。我想按照印度,美國,巴西等格式顯示。我究竟做錯了什麼?提前致謝。在kendo ui網格中對網上論壇排序
$(document).ready(function() {
var grid = $("#grid").kendoGrid({
dataSource: {
type: "GET",
transport: {
read: {
url: "some url placed here",
dataType: "jsonp"
}
},
pageSize: 20,
serverSorting: false,
group: {
field: "CategoryName",
aggregates: [{
field: "abc",
aggregate: "count"
}, {
field: "def",
aggregate: "sum"
}, {
field: "ghi",
aggregate: "sum"
}]
},
aggregate: [{
field: "abc",
aggregate: "count"
}, {
field: "def",
aggregate: "sum"
}, {
field: "ghi",
aggregate: "sum"
}]
},
columns: [
//column section goes here.....
],
sortable: false
//...
});
});
沒有probs我試過一切.. – sivaji 2013-03-21 04:54:00