Item template selection logic in JavaScript apps

In this post, we’ll address the mechanics needed to implement item template selection logic in JavaScript apps, which allows for increased flexibility in the way you present your bound data. In C#/C++/VB this would be done with the DataTemplateSelector class, but unfortunately we don’t have that option in JavaScript apps. To illustrate, we’ll start with……