Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

305
Visualizações
&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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda