Muhammad Abdul Qaium is a Database Engineer/Oracle Apex Developer/BI Developer (in Atlanta, USA) who is an Oracle Certified Cloud Architect Professional, OCI Autonomous DB specialist as well as Oracle Business Intelligence Foundation Suite 11g Certified Implementation Specialist with extensive expertise in Database design , PL/SQL, Oracle Apex, Microsoft SSIS, ETL, Power BI, Qlik Sense, OBIEE. Contact: qaiuminfo@gmail.com
Search This Blog
Monday, February 5, 2018
How to Make A Check Box and Check mark Individual or Multiple In Oracle Apex 5.1
1.
select
column1, column2, column3,
APEX_ITEM.CHECKBOX(10,'#ROWNUM#') "CHKBOX"
from TABLE_NAME
Go to Report Attributes ->(Respective Check Box) Column Attributes->Display As -> Standard Report Column
Go to Report Attributes ->(Respective) Column Attributes->Display As -> Display as text
2.
declare
V_ROW NUMBER;
begin
FOR i IN 1..APEX_APPLICATION.G_F10.COUNT LOOP
V_ROW := APEX_APPLICATION.G_F10(i);
update TABLE_NAME
set
Column3='Y'
where column1=APEX_APPLICATION.G_F01(V_ROW);
--RAISE_APPLICATION_ERROR(-20001,APEX_APPLICATION.G_F08(v_row)||v_row);
--RAISE_APPLICATION_ERROR(-20001,APEX_APPLICATION.G_F01(V_ROW));
--APEX_APPLICATION.G_F01(V_ROW)||
END LOOP;
end;
3. Do This JavaScript
$('#P106_CHCKALL').change(function() {
var checkboxes = $(this).closest('form').find(':checkbox');
if($(this).is(':checked')) {
checkboxes.prop('checked', true);
} else {
checkboxes.prop('checked', false);
}
});
Go to Report Attributes and Copy Pest it on the Report Attribute -> Heading
<input type="checkbox" id="P106_CHCKALL" />
OR
<input type="checkbox" onclick="$f_CheckFirstColumn(this)" />
Subscribe to:
Post Comments (Atom)
Check Difference Between Two Database Objects
Step-1. Create Two DBLINK to connect with Two Database then Step-2. define logindb= DBLINKONE define remotedb= DBLINKTWO define schema_name=...
-
Search by keyword from Oracle Database Objects. select owner, type, name, line, text from dba_source where 1 = 1 and text like '%TEXT Y...
-
We Can Export Application Components individually from Oracle Apex. Application > Shared Components > Export Application Compo...
No comments:
Post a Comment