Posts

Showing posts from November, 2024

JavaScript In Oracle APEX (Client Side)

Image
In this article, I want to discuss this question Where can  we use JavaScript in Oracle APEX  on the client side ? I recommend watching the video on my YouTube channel  ( www.youtube.com/@LidaGholizadeh_ORACLE_GIS )  for more details about this article! 1. Dynamic Actions Dynamic Actions in Oracle APEX support predefined JavaScript events, such as Click , Mouse Enter , and more.  You can also define Custom JavaScript Events for specialized use cases when you want to do something that predefined Events can not handle.To implement this type of Dynamic Action, you need to create  two separate Dynamic Actions : Defining the Custom Event Triggering the Custom Event  For Defining the Custom Event set the Event of DA to custom and   set a name for the Custom Event for example My_Custom_DA Here Selection Type  determines which elements or scope the custom event applies to and you have these option Item(s) : Triggered by one or more page it...

Custom JavaScript event of Dynamic Action in Oracle APEX

Image
In some scenarios, predefined events of Dynamic Actions (DA) may not meet your specific requirements. Custom JavaScript Events allow you to define and trigger events tailored to your application needs. I recommend watching the video on my YouTube channel  ( www.youtube.com/@LidaGholizadeh_ORACLE_GIS )  for more details about this article! To implement this type of Dynamic Action, you need to create two separate Dynamic Actions : Defining the Custom Event Triggering the Custom Event Let’s dive into the details step by step. Step 1: Define the Custom Event To define a custom event, follow these steps: Create a Dynamic Action and  Set the Event Type to "Custom"       Here Selection Type  determines which elements or scope the custom event applies to and you have these option Item(s) : Triggered by one or more page items. Button : Triggered by a button. Region : Triggered by a region. Column(s) : Triggered by one or more columns. jQuery Selector : Trigger...