cancel
Showing results for 
Search instead for 
Did you mean: 

table rows and Link to action - problem

Former Member
0 Kudos

Dear all!

I'm facing the following problem:

Each of my table rows can have 1...n values in one specific column. each of these entries are to be links (to action).

Is there a way to display these values in a drop Down list oder something like that? So that there will be one drop down menu in each table row. (I'm trying to avoid a tree UIElement and master-detail - Table references).

Is a modifiable simple type (created in Data Dictionary) dynamically filled (for each table row different)?

Do DropDownByKey/Index provide such a functionality? and how has got to be the context structure beneath these elements?

Best regards,

Christoph

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

U can have a DropDownByKey UI elemnt in the table as a column so that u can show the the values in the dropdown.

But u cannnot have different values in the dropdown in each row since u will be bind the column to an attribute which has enumeration.

And even u r asking about LinkToAction .U cannot have linkToAction for each of these entries since it is a different UI element.

Regards,

Sowjanya.

Former Member
0 Kudos

I will have different items in the drop Down List each row!

So there is no way to handle that? I mentioned link ToAction just because I have to trigger an event or to call a method as event handler when selecting on of the values in the list.

Christoph

Former Member
0 Kudos

Hi

I Think u can Clear the Enumeration for Each Instance and Populate the DropDown and u have to create a ValueAttribute Dynmically for each row in the Table and assign an onActionEvent for the DropDown.

Anyway i shall check ur scenario and let u know

With Wishes

Krishna kanth

Former Member
0 Kudos

Hi,

In table for a column u will only be able to bind one attribute.So I think u will not be able have different values in a dropdown when u r using a table .

Regards,

Sowjanya.

Former Member
0 Kudos

You can use a DropDown<b>ByIndex</b> element to get different entries per table row. Add a non-singleton node under the table's data source node that provides the dropdown list entries for each row.

This does not work with a DropDownByKey because this element gets its entries from the value set of a data type and you cannot have a different data type per table row.

When using the DropDownByIndex, you can attach an action to the onSelect event.

Armin

Former Member
0 Kudos

Hi Armin!

thank you very much. I'll give it a try as soon as possible.

Christoph

Former Member
0 Kudos

Hi Armin,

can you configure the DropDownByIndex UIElement in a way not to show empty entry?

Christoph

Former Member
0 Kudos

U can make Selection Property of the value Node to 1..n

With Wishes

Krishna kanth

Former Member
0 Kudos

Hi,

Change the selection property of the child node to 1-n instead of 0-n.

This will help.

Regards,

Sowjanya.