In the Oracle APEX 19.1 documentation for JS API, it is mentioned that we can pass column Items in apex.server.process. How do we use that?
Im trying to send column item value to ajax callback function using apex.server.process
I tried the below codes
apex.server.process("ajax_1", { pageItems: ["ENAME"] }, {
target: $("#EMP"), dataType: "text", success: function (pData) {
alert(pData);
}
});
And
apex.server.process("ajax_1", { pageItems: ["ENAME"] }, {
target: "#EMP", dataType: "text", success: function (pData) {
alert(pData);
}
});
The grid has Static ID: EMP and has a column with name : ENAME and Static Id : ENAME
And in the Ajax Callback Process (PLSQL)
BEGIN
htp.prn('ENAME : ' ||:ENAME);
END;
I get the following error
ERR-1002 Unable to find item ID for item "ENAME" in application "XXXXX"
Please help.
P1_ENAME. You need to use that. - Jeffrey Kemp