TListingActionArgs
Context data for event subscribers when the modification was triggered by a known caller (e.g. createRelationship). Subscribers use it to react with context the listing itself does not know — for example, to expand the new relationship's group on the source row after a refresh.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
| relationshipPropertyDefId | undefined | number | Array < number > | Yes | The multi-select lookup property whose newly-added items should be revealed — a relationship property (relationship drops) or the collection-member property (add-to-collection drops). The listing diffs this property to find what was added and resolves the group to expand by object identity, so it is agnostic to the group type. Several ids can be given when one action changes more than one property (a mixed add of documents and sub-collections); each is diffed against the same pre-refresh snapshot. |
| expansionAnchorRowId | string | Yes | Explicit drop-target row id to anchor the auto-expansion on, independent of the current listing selection. Set on the drag-and-drop path only (selection there reflects the dragged objects, not the drop target). When absent (e.g. the context-menu path), the listing falls back to resolving the anchor from the current selection. |
| skipSelection | boolean | Yes | When true, tells ListItemAdded subscribers not to change the current listing selection or reload the metadata card for this item. |