Menmabhakan no urut di kolom dapat dilakukan tanpa menggunakan model[code language="javascript"]
var record = 0;
$("#grid-loan").kendoGrid({
dataSource: dataSourceMyLoan,
pageable: true,
sortable: true,
filterable: kendoGridFilterableUSWithoutRow,
resizable: true,
dataBinding: function() {
record = (this.dataSource.page() -1) * this.dataSource.pageSize();
},
columns: [{ field: "Id", hidden: true, },
{ title: "No", template: "#= ++record #", width: 40 },
[/code]
0 people found this article useful
0 people found this article useful