> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.52-preview/clearlines-functions/action-functions/actionrow.md).

# ACTIONROW

Returns the index of the row, which was selected before or after the current action.

#### Syntax

**ACTIONROW**(*pointInTime*)

* *pointInTime* - defines if the index of the selected row *before* or *after* the current action should be returned - ***Value type**: constant (optional, default value: <mark style="color:red;">after</mark>)*\
  Possible values are:
  * *<mark style="color:red;">before</mark>* - returns the index of the selected row *before* the action
  * *<mark style="color:red;">after</mark>* - returns the index of selected row *after* the action

#### Remarks

* If there is no selected row, e.g. if the function is called during an Fx action, the function returns 0.

#### Example

![](https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/6y51FLJmhsfWyk5WbxDT/grafik.png)
