Auto increment number on click add row button in interactive grid Oracle APEX

How to add auto increment number on click add row button in interactive grid Oracle APEX.

preview

  1. Define value in Function and Global Variable Declaration.
var i = 0;
  1. Create dynamic action on Id column as per screenshot. preview

  2. Execute JavaScript Code.

i += 1;
  1. In Set value, Set type:JavaScript Expression. Affected Elements would be ID.
i

Demo

You might also like


comments powered by Disqus