Update Specific kendo grid cell value on databound event.
items[i].set("strBillAmount", x) produces "NaN" in grid cell
What I have tried:
var GridDataBound = $('#gridId').data('kendoGrid');
var count = GridDataBound.dataSource.total();
function OnDatabound(e) {
var items = this.dataSource.data();
for (i = 0; i < count; i++) {
var number = parseInt(GridDataBound.dataSource.data()[i].strBillAmount);
var Symbol = { style: "currency", currency: "INR" };
var x = number.toLocaleString("hi-IN", Symbol);
alert(x)
this['strBillAmount'] = x;
//items[i].set("strBillAmount", x);
}
}