Just for the sake of it..
Grouping ran.. not sure what it was that it caused problems on my side ..
But here is a sample of how to add grouping based on VWG 6.4 B1c
DataTable mTable = new DataTable();
mTable.Columns.Add("Col1");
mTable.Columns.Add("GroupName");
//add a serie of groups
for (int i = 0; i < 10; i++)
{
listView1.Groups.Add(i.ToString(),i.ToString());
}
//add a serie of itemes per group to a table.
foreach (ListViewGroup mG in listView1.Groups)
{
for (int i = 0; i < 10; i++)
{
DataRow mr = mTable.NewRow();
mr[0] = "row " + i.ToString();
mr[1] = mG.Name;
mTable.Rows.Add(mr);
}
}
//set the datasource
listView1.DataSource = mTable;
//set the group for each listviewitem
foreach (ListViewItem mitem in listView1.Items)
{
mitem.Group = listView1.Groups[((mitem.Tag) as DataRowView)[2].ToString()];
}
Version : 6.1 beta1c
But a problem resides ..