1- JSON string from server

2- Converted to an object with ko.parseJSON

3- Mapped to use observables and add a dependentObservable


4- Display in an editor

Name Category Price w/Tax
Add Item Total:

5- Filter display by name

Filter:

6- Find first match by name

Search:


7- Use ko.utils.arrayMap to build an array with just categories used

8- Use ko.utils.arrayGetDistinctValues to get just the unique categories used

9- Use ko.utils.compareArrays to find available categories that haven't been used

10- Convert items to JSON

11- Map items to send back to server and convert to JSON