Auto New Line Generation in Interactive Grid Oracle APEX
Sometimes user don't want to go with add row button for a new row generation on those cases I will show you how to generate new line without using add row button. for this, you will have to follow some simple steps:
- Create Interactive grid using following query and Define a static ID "REPORT_ID".
SELECT ROWID,
EMPNO,
ENAME,
JOB,
DEPTNO
FROM EMP
WHERE 1=2
- Create Dynamic action with Change Event and Execute JavaScript Action on last column from where you will create a new row.
- Copy and Paste the following JavaScript Code:
apex.region("REPORT_ID").widget().interactiveGrid("getActions").invoke("insert-record")
apex.region("REPORT_ID").widget().interactiveGrid("getActions").invoke("row-add-row")Demo
hi,
ReplyDeletehow browse file or image in interactive grid?
Apex doesn't support File browse in Interactive grid so far.
DeleteWe will see if can do some work around for that.
Thanks for asking