Lazy loading a viewModel with Knockout.js | Sen |

There are cases when displaying a list of data where you may want to have a list of elements that contains a preview with a bit of data and when you click on that item, it expands out for a detailed view.

A performance savvy developer may want to provide a way to simply load the preview data initially, and only load the detailed information when asked for. Perhaps the query to retrieve the details does several costly joins or what not.

You can accomplish a lazy loaded detail list quite easily using knockout.js.

Via Jan Hesse