Skip to Content

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

Which row's onEnter of a table

Hi,

There is a table that has a column of non-readonly inputfield, which onEnter() is bound to an action handler.

When user presses "Enter" in one of the inputfield, how to know which row emits the onEnter event?

Thanks!

Tony

Former Member
Former Member replied

Map the implicit event parameter "nodeElement" to an action handler parameter "element" of type IWDNodeElement.

inputField.mappingOfOnAction().addSourceMapping
(
  "nodeElement",
  "element" /* name of action parameter */
);

Then you can get the row by element.index() inside the action handler.

Armin

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question