Below code is working in ff and chrome but throwing error in ie
Am I missing sth ?
gridMain = $("#gridMain").kendoGrid({
dataSource: dsMain,
height: 500,
filterable: true,
scrollable: true,
pageable: false,
selectable: 'row',
sortable: true,
columns : [
{
field: "dt",
title: "Tarih",
width: "120px"},
{
field: "defi",
title: "Açıklama"},
/*{
field: "amn_tot",
title: "Toplam Tutar",
width: "120px"},*/
{
field: "id",
title: "İşlemler",
template: actionTemplate,
width: "130px"}
],
change : function(e) {
selectedRows = [];
for (var i = 0, l = this.select().length; i < l; i++) {
var xid = this.select()[i].dataset.id;
selectedRows.push(xid);
};
//console.log(selectedRows);
/*
console.log(this.dataSource.view()[this.select()
.index()]["id"]);
*/
}
});
Am I missing sth ?