cancel
Showing results for 
Search instead for 
Did you mean: 

Cell-specific definition of TableCellEditors

Former Member
0 Kudos

Hello,

we are currently using a Drop-Down-Box as TableCellEditor of one specific table column. But the content of the Drop-Down-Box is depending on the selected table row. Since the WebDynpro tables only offer the declaration of one cell editor per column, we are not able to handle this reqiurement. Is there any possibility to define cell-specific table cell editors?

Thanks in advance. Regards,

Michael

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello again,

we need to define a dropdown list as editor of a specific table column. furthermore the drop down list's content varies between the table's rows.

row.1 may offer a drop down list containing [Option.A, Option.B, Option.C] wehreas row.2 only offers [Option.A, Option.B] in the drop down list.

My question is if there is an possibility to define drop down box cell editors with different content for each available table row?

Regards

Michael

Former Member
0 Kudos

Hi Michael,

i think this is not possible, since what you want to do requires the possibility to bind the value of a column editor to a context node by index (e.g. table row index). As far as i know, this is (currently) not supported.

Anybody else got a solution for this?

Regards

Stefan

Former Member
0 Kudos

Try the following: handle OnLeadSelect action in table controll and re-populate ModifiableSimpleValueSet of correspondign node attribute.

WBR,

VS

Former Member
0 Kudos

Let X be the view context node used as the table's data source. Add to X a (non-singleton) subnode Y with an attribute A containing the texts you want to display in your drop-down list boxes. Use an IWDDropDownByIndex as table cell editor, bind the "texts"-property to attribute A.

Regards, Armin

Former Member
0 Kudos

Yepp, still something to learn around here Thx alot for this.

Best regards

Stefan

Former Member
0 Kudos

We had a similar requirement.

As Armin told the requested functionality is not available by default. What we did wab by setting

Table/Column to "display only" and update it through an external field out side the table. ie. define a header set of fields through which you can feed in the table.This header line could be attached to a dynamic context.

Cheers,

Sam Mathew

Former Member
0 Kudos

You cannot have different cell editors in the same column. What exactly do you want to achieve? Perhaps we can propose some other solution.

Regards, Armin