Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

306
Vistas
&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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda