KoGrid how to refresh grid in case data is changed
问题 I am tring to use KoGrid lib, but I got case that I can't resolve. I don't know how to refresh grid in case if I got new data for display. I need to update data after ajax call. $.ajax({ type: "GET", url: reqvesturl, cache: false, dataType: "jsonp", success: function (data) { resultData = data; if (!model) { model =new mainViewModel(); ko.applyBindings(model); } else { model.myData(data); //mo.applyBindings(); }; //model.myData(data); }, error: function (jqXHR, textStatus, errorThrown) { } })