Skip to content Skip to sidebar Skip to footer

Knockout Js: Creating Json From Viewmodel Observable Array

I have a html table whose columns are dynamically created. There is add row button which adds row to the table and remove row button to remove the row. Finally there is a Save but

Solution 1:

Try this:

var dataToSave = ko.toJSON(self.valuesData);

Post a Comment for "Knockout Js: Creating Json From Viewmodel Observable Array"