Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Button parameter mapping for tree tables (nw04)

I've successfully implemented a table including a master column, which is bound to a context tree node. The table has property selectionMode: none

Next to the master column I have a couple of columns, one containing a button. This button has property onAction: ShowInfo.

In the corresponding method 'onActionShowInfo' I want to show a dialog containing information belong to the row of the pressed button. How can I obtain some kind of reference to the corresponding row of the clicked button?

Grtz,

Chris

Former Member
Former Member replied

Ok, I see. I thought the warning occurs only after mapping the event parameter. However, forget the warning, it is completely useless. You should use the IDE to assign the action and also the Parameter Mapping editor (if available in your version, check context menu in Outline view).

The action parameter should either be of type IWDNodeElement (and you can cast it yourself inside the action handler) or of type IPrivate<ViewController>.I<Node>Element.

Armin

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question