Apex: Make a tabular form column read only

Problem


You have a tabular form and you want to make a column read-only



Solution

Right click on the field in the application in your browser and "Inspect" it.


So in my case I can see that the internal name of the field is f03.

Now create a pageload event piece of code to execute JavaScript.



$("[name=f03]").css("pointer-events","none");

To extend this I put a condition around this so that it is only read-only in certain cases, but from a functional point of view, the above statement will make that field read-only.

Acknowledgment

http://stackoverflow.com/questions/33854289/oracle-apex-tabular-form-need-to-make-a-column-read-only-except-on-a-new-row-w

Comments