Hi,
I am looking to bind a listview with a generic list of a custom object. I got some problems trying to get the same results as in your examples. First of all when I put it on listview viewmode it show only the display member value when I was expecting it to show all column in the listview. may be I need to set something to get it work? I noticed that I can show what I want using the visualitem.text to show it the way I want but I can't find a way to do it automatically. Also I did copy your code to make the grouping work and it dosen't... I doe's make grouping when I put wrong property name in it then, the grouping seem's to be based on the count of item's. Well I would like to find a way to acheive it. May be a little project binding a custom object with grouping and differents viewmodes could help me to achieve my goal (since all your example are made with datatable).
Thanks
I am looking to bind a listview with a generic list of a custom object. I got some problems trying to get the same results as in your examples. First of all when I put it on listview viewmode it show only the display member value when I was expecting it to show all column in the listview. may be I need to set something to get it work? I noticed that I can show what I want using the visualitem.text to show it the way I want but I can't find a way to do it automatically. Also I did copy your code to make the grouping work and it dosen't... I doe's make grouping when I put wrong property name in it then, the grouping seem's to be based on the count of item's. Well I would like to find a way to acheive it. May be a little project binding a custom object with grouping and differents viewmodes could help me to achieve my goal (since all your example are made with datatable).
Thanks