cancel
Showing results for 
Search instead for 
Did you mean: 

problem regarding DropDownByIndex !

Former Member
0 Kudos

HI,

I have a collection of records in a tabular form.

Now here is one field with the name "courier" which is DropDownByIndex when i select "courier1" in frist row and then select "courier2"

in 2nd row "courier1" in first row gets replaced by "courier2" and rest of the rows also gets set by "courier2".

The property of the context node "courier" is

cardinality : 1:n

selection : 1:n

singleton : true

Now when i m trying to change the property of singleton to "false " it doesn't allow me to change.

with regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Add a non-singleton subnode "Items" (cardinality 0:N, selection 0:1) under the table's data source node.

Add an attribute "Text" of type string in node "Items".

Bind property DropDownByIndex.texts of the table cell editor to attribute "Items.Text".

Armin

Message was edited by: Armin Reichert

Former Member
0 Kudos

Hi Armin,

As per u said I hav changed the property (cardinality 0:N, selection 0:1) but that's too not working.

Will u pz. help me regarding how to change the

Singleton property.

With Regards

Arun

Former Member
0 Kudos

In the properties of the context node, set singleton=false.

Armin

Former Member
0 Kudos

hi armin,

I m not being able to change the property of context to singleton = false .

When i click on that it doesn't give me ny option,

Is that property linked to some other setting, which will enable me to change.

with regards

Former Member
0 Kudos

Hi Arun,

It looks like you are trying to change the property of a node in a View/Component Controller Context that is Mapped to some other Components Controller Context.

You can change the property in the Component Context where you first created the Value Node or you first did the Model Binding.

It should work then as described by Armin.

Regards,

Shubham