How to add auto increment number on click add row button in interactive grid Oracle APEX.
- Define value in Function and Global Variable Declaration.
var i = 0;
-
Create dynamic action on Id column as per screenshot.
-
Execute JavaScript Code.
i += 1;
- In Set value, Set type:JavaScript Expression. Affected Elements would be ID.
i