samedi 28 février 2015

Dynamically adding columns to ListView - Windows Store app

Basically I would like to do something like myListView.Columns.Add(myColumn) and then bind to it.


I need to add columns based on an incoming JSON to a ListView in my universal Windows store app. I haven't found the functionality I would like in DataTemplate class in code and creating the template in XAML is off the table since I don't know the number of columns in before.


Has anyone come across this problem? :/


Aucun commentaire:

Enregistrer un commentaire