This is a migrated thread and some comments may be shown as answers.

grid.dataItem(row); returns null in IE10

1 Answer 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 12 Aug 2013, 07:06 PM
Hi there!

The following code returns null in IE10 but returns values in Chrome and Firefox.
var grid = $("#saleGrid").data("kendoGrid");
row = grid.select();
item = grid.dataItem(row);

I have debugged the internal method and I have found that there is data there. But for whatever reason I am getting null values in IE.
I have attached a screencast to highlight the issue fully.

Screencast showing error

1 Answer, 1 is accepted

Sort by
0
Accepted
Craig
Top achievements
Rank 1
answered on 12 Aug 2013, 07:43 PM
Weird, I renamed the variable to something else and this started working.

I must have a global someplace that's causing this error. I'm still open to ideas on tracking down the culprit.

Thanks!
-Craig
Tags
Grid
Asked by
Craig
Top achievements
Rank 1
Answers by
Craig
Top achievements
Rank 1
Share this question
or