Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

302
Views
&column_name. is not working in Interactive grid Oracle Apex

I'm working on a IG report. And I want to get data from only currently selected row for some validation purpose.

Firstly, I've used Dynamic Action of selection change(IG). This DA triggers as soon as user selects a row (or I can say, click on any section of row). Hence, whatever user types in any cell after row is selected will not be considered by this DA. (For that we've to unselect and select that row again.)

Then I'm trying to use onChange(jsFunction($(this), &COLUMN_NAME.)); in html attributes to call a function.

While working with IR, to pass another column's value, we have to use #COLUMN_NAME# in it. But in IG, it throws an error Uncaught SyntaxError: Private field '#COLUMN_NAME' must be declared in an enclosing class.

Hence I'm trying to use &COLUMN_NAME. But again it is not giving any value. I tried to debug it and I find that it is giving value as Undefined.

I also tried using below steps:

I'm calling onChange(jsFunction($(this)); through html attributes of that column.

And below code I'm using in jsFunction

function jsFunction(eQTY)
    {
        //alert(eQTY.val());   // This works fine for getting current column's value.
       
        var model = eQTY.data.model;
        var rec = eQTY.data.selectedRecords[0];
        aQTY = model.getValue(rec, "REQUIRED_PICK_QTY");
        
        alert(aQTY);
    }

But now I'm getting error Uncaught TypeError: Cannot read properties of undefined (reading '0')

Any idea how can I pass other column's value in IG?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!