Hi,
I want to write an application that contains a TreeView (TV) to the left and a ListView (LV) on the right. When the App first loads there will be nothing in the LV. In the TV the user can open the root node to display it's contents. Now what I want to do is when the user clicks a node it displays in the LV the contents of the node's subnodes (elements).
However, each of the main nodes will have different attributes to show, so what would be the best thing to do to achieve this?
Also, If the user double clicks on a node instead of the LV being displayed a Form is shown to allow the User to enter the details of the new item. And when an item is added then this is reflected in the TV. Again, since all nodes have different attributes then the forms would be different too. So how would I go about this?
I know how I want this application to look like and how it should function but implementing it is another matter. So I'd really appreciate any help that's available. Can anyone shed some light on this or point me to a tutorial / sample?
--
Thanks
William
I want to write an application that contains a TreeView (TV) to the left and a ListView (LV) on the right. When the App first loads there will be nothing in the LV. In the TV the user can open the root node to display it's contents. Now what I want to do is when the user clicks a node it displays in the LV the contents of the node's subnodes (elements).
However, each of the main nodes will have different attributes to show, so what would be the best thing to do to achieve this?
Also, If the user double clicks on a node instead of the LV being displayed a Form is shown to allow the User to enter the details of the new item. And when an item is added then this is reflected in the TV. Again, since all nodes have different attributes then the forms would be different too. So how would I go about this?
I know how I want this application to look like and how it should function but implementing it is another matter. So I'd really appreciate any help that's available. Can anyone shed some light on this or point me to a tutorial / sample?
--
Thanks
William