Category Archives: Knockout

knockout JS

Grid in Knock Out

Hi All, Using Knockout we can create grid view easily.An example of using the ‘foreach’ binding to render content for each item in an list is given below.We can add items to a HTML template. Note : viewModelData is view model which contains Name,Age and No fields.

Computed Observables in Knock Out JS

If we have an observable for first Name and another for last Name, and we want to display the full name from first name and last name, we use computed observables. It will automatically update whenever we need any of these dependencies change.