Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to fetch values from a column which has select list functionality using JavaScript in Apex

AshiwnAug 20 2018 — edited Aug 22 2018

Hi All,

          I am doing some JavaScript to fetch values from  columns on a 'On click' action in a row. I am able to retrieve values for  all the columns except for the columns which have the select list functionality. Any idea on how to will be helpful.

Thanks

Praveen

var model = apex.region("emp").widget().interactiveGrid("getViews", "grid").model;

// get the interative tables column keys we are ineterested in

var selectedLEPKey = model.getFieldKey("LEAD_EPRINTID");

var epIdKey = model.getFieldKey("EPRINTID");

var scoKey = model.getFieldKey("RATING");

var uaoKey = model.getFieldKey("UOA");

var subKey = model.getFieldKey("SUBMISSION_STATUS");

alert(subKey);

//var subId = document.getElementById $('#ID_Sub').value;

var uoa = $('#ID_UoA').val();

var epId = $('#ID_EP').val();

var subId = $('#ID_Sub').val(); ---- Select list column

var selectedSco = $('#ID_Sco').val();

var Name = $('#ID_N').val();

alert(selectedSco);

alert(Name);

alert(subId); --- Select List Column alert - Giving me a null value when the cell in the column has some value in it.

This post has been answered by Pierre Yotti on Aug 20 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2018
Added on Aug 20 2018
3 comments
4,019 views