What's New in Oracle APEX 21.2- JavaScript APIs

APEX 21.2 New JavaScript APIs

apex.env

apex.env;

apex.env_02

apex.date

Daniel’s Blog

apex.regions

   apex.regions.emp.refresh();
	OR
	apex.region("emp").refresh();

apex.regions apex.regions_auto_suggest

apex.items

apex.items.type

//Snippet from Stefan's Blog
// getting an item’s value:
var sal = apex.item("P1_SAL").getValue();
// is the same as
var sal = apex.items.P1_SAL.getValue();
// is the same as
var sal = apex.items.P1_SAL.value;

// setting an item’s value:
apex.item("P1_SAL").setValue(100);
// is the same as
apex.items.P1_SAL.setValue(100);
// is the same as
apex.items.P1_SAL.value = 100;

apex.items returned item types

Item Type apex.items returned
Switch CHECKBOX
Checkbox SINGLE_CHECKBOX
Checkbox Group CHECKBOX_GROUP
Text Area TEXTAREA
Select List SELECT
Text TEXT
Number NUMBER

Demo

User name: You Name

To be continue ….


comments powered by Disqus