I have 3 items. item1 and Item2 are belong to Group and Item3 is not belong to any group. How can I add item3 on the ultraListView? Below is my test code: Thanksthis.ultraListView1.View = UltraListViewStyle.Details;UltraListViewGroup group1 = new UltraListViewGroup();group1.Text = "Group1";this.ultraListView1.Groups.Add(group1);UltraListViewItem item1 = new UltraListViewItem();item1.Key = "Item1";item1.Value = "Item1";this.ultraListView1.Items.Add(item1);item1.Group = group1; UltraListViewItem item2 = new UltraListViewItem();item2.Key = "Item2";item2.Value = "Item2";this.ultraListView1.Items.Add(item2);item2.Group = group1;
UltraListViewItem item3 = new UltraListViewItem();item3.Key = "Item3";item3.Value = "Item3";this.ultraListView1.Items.Add(item3);
The result is only Item1 and Item2 are added beneath Group1, while Items3 is not added on the UltraListView at all.
;
You can't. When you are showing groups, items that do not belong to one are intentionally filtered out. A simple solution to this would be to add a group for the items that logically belong to no group, and set the HeaderVisible property to false for that group, so the item looks like it does not belong to any group.