Forum Stats

  • 3,782,337 Users
  • 2,254,638 Discussions
  • 7,880,048 Comments

Discussions

Get Interactive Grid LOV Column Sum using JAVA SCRIPT

Faadi
Faadi Member Posts: 52 Blue Ribbon

Below JS on VAL2 dynamic action, does not work if the VAL2 column is LOV

It returns NAN on console.

Any idea how to get it done with return value from LOV.

var model = apexyn.region("ID").widget().interactiveGrid("getViews", "grid").model;

model.forEach(function(func) { 

  var val = Number(model.getValue(func,"VAL2"));

  console.log('this is '+val);

 });
Tagged:

Best Answer

Answers