on 05-17-2005 12:30 PM
Hi everybody
I try use two DropDownByIndex elements with identical data, so i would like use only one collection with list items. Is that possible, that dropDown elements are independent in this scenario? I try, and when I click first element, the second is modified too:( That is logical (only one current element in node with items for dropdown list) but maybe is that possible to come round this problem?
Regadrs Bogdan
Create two ContextNode/ContextAttributes with the same data and assign the source of the DropDown to differentContext.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks
That is unfortunately that, why I was epxected
Possible that is good idea to move the selection state from context node to UI element in future WD version?
once more thanks everybody
to next time
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anilkumar
That solution is simply, I know, but that displease me - I think, redundancy is dangerous and not elegant.
Regards Bogdan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The drop-down by index element acts on the lead selection of the context node it is bound to. So you have to use different nodes if you want different selection states.
You could encapsulate the logic to create the node elements in a method and call this method for each node. The method would use the generic context API.
Armin
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.