CTable Events
Use
-
ON_DROP
Assignment of the action to be executed when the user moves an entry or multiple entries in the table with drag & drop.
Parameter Name
Type
Description
ID
STRING
CONTEXT_ELEMENT
IF_WD_CONTEXT_ELEMENT
DATA
STRING
Attribute of DragSourceInfo
DIRECTION
STRING
Specifies whether a row or coumn has been dropped. Possible values are: horizontal and vertical
MIME_TYPE
STRING
Attribute of DragSourceInfo
OFFSET
I
Specifes whether the element is dropped. ROW_ELEMENT is the reference:
-
-1: Before the reference
-
0: Directly on the reference
-
+1: After the reference
ROW_ELEMENT
IF_WD_CONTEXT_ELEMENT
Position from where rows are counted
TAGS
STRING
Attribute of DragSourceInfo
The event ON_DROP is triggered if an element is moved between rows or on rows. A reference to the row (ROW_ELEMENT) is returned as a reference for the OFFSET parameter.
You can find more information about Drag & Drop in Drag & Drop in the CTable.
-
-
ON_SELECT
Action executed when a user performs an action in the table of a selection change. A selection leads to a roundtrip.
Parameter Name
Type
Description
ID
string
CONTEXT_ELEMENT
IF_WD_CONTEXT_ELEMENT
COLUMN_ID
STRING
Selected ID of column;
COLUMN_ID is empty if the selection column has been selected.
ROW
I
Line index
-
ON_ROW_CREATE
If this event is bound, it is fired when the user presses the tab button in the last colum of the last row. Transfer parameter INSERT_POSITION returns the index of the row to insert.
Example: The table has 10 entries, the event is fired at the end of the table with tab, INSERT_POSITION has the value 11.
Parameter Name
Type
Description
ID
string
CONTEXT_ELEMENT
IF_WD_CONTEXT_ELEMENT
INSERT_POSITION
I
Index of the row to insert