Anyone seen this error when using knockout with the iggrid? It only happens in IE8 with a knockout bound grid. Knockout works without the grid, and in anything above IE 8. I'll try to get an example that shows it soon.
Unable to get property 'group' of undefined or null reference
File: knockout-3.1.0.js, Line: 60, Column: 379
Hello,
On top of my head, I suggest this is because you are executing your code before the page is finished loading. Either move your script include/script block to the end of the doc before the closing body tag or if you are using jQuery, place your code in a ready function like this.
$(function () {
var vm = new ViewModel( 'Joe', 'Schmoe' );
ko.applyBindings( vm );
});
http://jsfiddle.net/bczengel/27gcs/
And yet as your code seems to be working elsewhere but in IE8, I suggest there could be some issue with how IE8 handles self-closing script tags. For example:
Try turning this. <script type="text/javascript" src="~/Scripts/jquery-1.3.2.js" /> Into this <script type="text/javascript" src="~/Scripts/jquery-1.3.2.js"></script>
Please let me know of this long shot does the work!
Figured it out, it's the craziest thing. My array of columns had an extra column at the end of a column definition, as soon as I removed it, everything was good. Looks like it might have been expecting another column or something, but only in IE8
{ headerText: '', key: 'GrantTypeCategoryId', dataType: 'number', hidden: true},