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.
|Better To Click The Logo Above||Form Y||Form Y1|
Try it in jsFiddle
|[ ko FilterGrid ]|
|[ ko - Two View Models: FilterGrid and CartEditor ]|
|[ knockoutDATA_BIND ]|