I am using jqwidgets grid and the example on their site to bind using ko observableArray. However I think that the reason the grid is not showing data is because it is trying to bind before the ajax request is complete. Here is a fiddle of my code. Also any resources on how to debug ajax using firebug, I know how to debug js code but when using ajax if I put a debugger; in the
.done(function (data) {
debugger;
var jsonData = $.parseJSON(data);
me.items(jsonData);
});
It doesn’t fire if I have other debugger; statements outside of that function and I don’t understand why. I guess I don’t fully understand the flow of async requests in javascript code. Thanks again
Dan
There is such sample available here: gridwithjson.htm