-
the program I am writing has a number of lists. Depending on the node clicked on a treeview, a certain list is displayed in a listview. I have managed to get check boxes inside a listview. If a user clicks on another node in the tree, I wish to save info on which check boxes they checked in the current list. If they then show this list again, I wish to have the same check boxes checked as when they left. Any ideas?
-
i think you can do it by setting the listitem's check or selected property to true....
-
Right i am not sure if this is possible, but it is an idea.
You have a Treeview with multiple nodes right. For each node, you have a list that you show. Now each list has a set of listitems.
So for a list, you need a collection that stores which items have been checked.
but you have more than one list, so you need a collection of this collection. This outer collection is a collection of node keys that each hold the collection of listkeys.
So if you are not confused by the logic of that, give it a go.