Hello,
I'm a bit new to KO, so I apologize. I have practically copied the example used here: http://es.infragistics.com/products/jquery/sample/grid/grid-knockoutjs-integration
If I load up the object (referred to by db in the sample code) then the grid will initialize with all of the data properly.
If I put the ajax call in a function and bind it to a button, I can't get the data in the grid to load/refresh after the call. I've made sure that the ajax call is being made and the JSON is coming back. Is there another API I need to hook into the grid to refresh the data?
Thanks
Hello Alex ,
You can change the data source of the igGrid in runtime by invoking the following line just after the rebind:
ko.applyBindings(moPeopleVM);
For additional reference on this you could check the attached sample. In order to run it just add the latest Infragistics scripts in the js and css folders.
Please let me know if this helps.
Hello Alex,
I was just wondering did you have a chance to try my suggestion. If you still need any assistance on the matter, please do not hesitate to ask.