attachButtonClicked( [oData], fnFunction, [oListener] ) method

Attach event handler <code>fnFunction</code> to the 'buttonClicked' event of this <code>sap.apb.SuperList</code>.


.
When called, the context of the event handler (its <code>this</code>) will be bound to <code>oListener<code> if specified
otherwise to this <code>sap.apb.SuperList</code>.

 itself. 
 
This event is triggered when the button is clicked. The args consists of action, row and dataRow.

Syntax

attachButtonClicked( [oData], fnFunction, [oListener] ) → {sap.apb.SuperList}

Parameters

Name Type Argument Default Description
oData object (optional)   An application specific payload object, that will be passed to the event handler along with the event object when firing the event.
fnFunction function     The function to call, when the event occurs.
oListener object (optional) this Context object to call the event handler with.Defaults to this <code>sap.apb.SuperList</code>.

 itself.

Returns

<code>this</code> to allow method chaining

Type:

sap.apb.SuperList

Source

SuperList.API.js, line 166.