Editing subitems in Listview in VB.NET
Visual Basic
2
Posts
2
Posters
1
Views
1
Watching
-
Can anybody suggest as how to edit a subitem in VB.net listview control
-
Can anybody suggest as how to edit a subitem in VB.net listview control
By "edit" do you mean allow the user to interactively change the value of a subitem in column 2,3,...,N? Or, do you mean simply set the value of the subitem, as in
ListView1.Items(0).SubItems.Item(1).Text = "X"
Unfortunately, according to the .NET Framework documentation, "Unlike ListViewItem objects, ListViewItem.ListViewSubItem objects cannot be edited directly by the user"