This example shows how computed observables can be chained together.
Each cart line has a
ko.computed property for its own subtotal, and these in turn are combined in a further
property for the grand total. When you change the data, your changes ripple out through this chain of computed properties,
and all associated UI is updated.
This example also demonstrates a simple way to create cascading dropdowns.
What follows needs to be made into a good FOOTER
Try it in jsFiddle
▶ShopNameCart: Household items
»KnockOut! List Products By Category (local Parent Child Foreign Key View Model) ▶KnockOut! Client Side Local Diffferent Model Source
»A jQuery menu/accordian Using KnockOut data Model