Description:
This section describes specific sections of the Edit Popup List of Values Template page. You can access the sections of the page either by scrolling down the page or by clicking a navigation button at the top of the page. Note that when you select a button at the top of the page, the selected section appears, and all other sections are temporarily hidden.
Javascript Used to Get the Tabular Form Id
Example : var eleTables = document.getElementsByTagName(“table”);
for (var i=1;i
var tId = eleTables[i].id;
if(tId.substring(0,7)!=”){
if(tId.substring(0,7)==’report_’){
var originalId = i;
var tableIds = eleTables[i].id;
tableId = tableIds;
return tableId;
} } }
Create the POPUP Image on tabular column
Example : var link = document.createElement(‘a’);
var image = document.createElement(‘img’);
var span = document.createElement(‘span’);
link.setAttribute(‘href’,’javascript:genList0_f16_0(“‘+a1+'”,”‘+filters+'”)’);
link.className=”dark”;
image.setAttribute(‘src’,’/i/list_gray.gif’);
Customize the Window open
Example : w = open(“wwv_flow_utilities.gen_popup_list” +
“?p_filter=” +
“&p_name=” + escape(filters) + “&p_element_index=” + escape (a1) +
“&p_form_index=” + escape(‘0’) + “&p_max_elements=” + escape(”) +
“&p_escape_html=” + escape(”) + “&p_ok_to_query=” + escape(‘YES’) +
“&p_flow_id=” + escape(appId) + “&p_page_id=” + escape(pageId) +
“&p_session_id=” + escape(l_field) + “&p_eval_value=” + escape(”) +
“&p_translation=” + escape(‘NO’) + “&p_lov_checksum=Dynamicchecksum
“winLov”, “Scrollbars=1,resizable=1,width=400,height=450”);
if (w.opener == null) w.opener = self; w.focus();
Based on Custom POPUP(Head No Column) append the value to Select list(Product) and read-only column(Description and Drawing No)
Here Return value(M2595) also customized then return to Tabular Column.
Summary:
This Post explained what the steps should follow to create Create Customize POPUP LOV for APEX.
queries?
Do drop a note by writing us at doyen.ebiz@gmail.comor use the comment section below to ask your questions.