I'm building a dialog box with two independent listView elements in it. The trouble is that when I select an item in one listView, DOORS deselects the item in the other listView. I need to maintain a single item selection in both listViews simultaneously. (The user is selecting a name in one listView and a role in the other, establishing a relationship between two elements in different listViews). (Note that I am not talking about different columns in the same listView. I am talking about two discrete listViews in the same dialog box.) Any ideas? Thanks in advance! Bob3 - Thu Oct 15 23:30:26 EDT 2015 |
Re: How to maintain selection in two different listViews simultaneously Even though the selection fades on the other listview when something is selected on the other, isn't there still a selection on? I hacked a short demo from the example in this discussion https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014680628
and it does display both selections done to both listviews when you press Show selections. |
Re: How to maintain selection in two different listViews simultaneously Pekka_Makinen - Fri Oct 16 04:36:35 EDT 2015 Even though the selection fades on the other listview when something is selected on the other, isn't there still a selection on? I hacked a short demo from the example in this discussion https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014680628
and it does display both selections done to both listviews when you press Show selections. Pekka, thank you for your very helpful response. You're right, both selections remain intact although the earlier selection(s) fade upon making yet another selection in a different listView. I was doing DXL development on a virtual machine where the connection speed reduced the number of colors displayed to the user. As a result, I couldn't see the light grey selection color indicating that the selection was indeed being maintained upon making another selection in a different listView.
Best regards! |