cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP WebDynpro: Table cells with different values.

Former Member
0 Kudos

Hello,

I am not sure how the following can be achieved.

I have a table with 10 rows in it. First column should have different values in cells (static value that do not come from anywhere). For example, colors: black, green, yellow, etc.

I inserted a table column. In that column I inserted a Cell Editor of type TextView. If I define a 'text' property of this element than it marks all cells in this column with this text. I need to assign different values to each cell.

How can this be done?

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You must add an attribute e.g. "Color" to the data source node "Rows" of the table and set different "Color" values for elements in node "Rows".

Armin

Former Member
0 Kudos

Hello Armin,

I do not see anywere node "Rows" I only see Master Column, Group Column and Table Column in context menu of Table element.

Thanks.

Former Member
0 Kudos

I was talking about the structure of your context.

The Table UI element has a "dataSource" property that must be bound to a context node which I called "Rows". Add your attribute as a child of that node.

Bind the TableCelleEditor property (e.g. TextView.text) to that attribute.

Armin