fgl_geteventrownum() function interacts with action assigned to new onRowContextMenu event and returns integer row number on invoke of that action. It is used for extended Table functionality.
This how that event looks in form XML:
<Table.onRowContextMenu>
<ActionEventHandler actionName="row_num" />
</Table.onRowContextMenu>