CRecordWebAddTableRowListener
The message
The message is part of the
The API is located in the plugin NY_
{ "id": "9e65346d-7510-4c78-9464-ee6738582a2c", "name": "WEB_ADD_TABLE_ROW_LISTENER ", "description": "Adds a listener to a table row. When the table row is clicked, the data of the row is sent with the message WEB_NOTIFY_TABLE_ROW_CLICKED.", "slots": [ { "key": "1", "name": "ID ", "direction": "REQUEST", "mandatory": "true", "type": "STRING", "description": "The ID of the table." } ] }
When the table row is clicked, the data of the row is sent with the message CRecordWebNotifyTableRowClicked.
Arguments
-
ID : The ID of the table.
Usage with the helper class CWebApi
The easiest way is to call the corresponding method in the CWebApi class. The use of the class is described there.
mWebApi.addTableRowListener(ID_MY_TABLE );
Usage as message
The
public void addTableRowListener(@NotNull final CTargetAddressa , @NotNull final StringRemote Skin AddressaIdOfTable ) throws CException// Envelope final CEnvelope env = CEnvelope.forSingleTarget(m );Remote Skin Address// Record final CRecord record =CRecordWebAddTableRowListener .create();CRecordWebAddTableRowListener .setId(record,aIdOfTable );// send message sendNotification(env, record); }