Automatically expand a Hide and Show model region when the Page loads

Hello

I work with a Hide and Show region model, and I'm trying to accomplish the following:

When my Page loads, if a PX_ID is not null, hide it and see the area should be extended automatically.

I use Apex 4.1.1.

Any ideas?

Thank you

Erick

Hello Joe,

Thank you for your response.

This morning, I was looking for a solution in the forum and I could not find anything. Now, I decided to keep looking for more careful and I found a solution.

For those interested, check this thead element: Re: hide/show the region

Basically, I created a dynamic Action with the Code JavaScript: $('.t20RegionHeader') ('img') .children ravishing ();

Thank you

Erick

Tags: Database

Similar Questions

  • How to hide and show based button if the line is selected in a table

    Hello

    IM pretty new to apex. I use version 4.1. I have a tabular form and I want to do is only have the button Show delete if I select a row in the column [line selector]. Is this possible using a dynamic action? I tried this way without success. Please help or let me know if you need more information.

    Thank you

    Do you mean if the box is checked in the line?

    Assign a static ID for the button Delete, for example MY_DEL_BTN. Search for 'Static ID' in the attributes of the button section.

    If so, do an advanced Click-based dynamic Action and a jQuery selector. Generally, this element is the name "f01" but, sure. Assuming that it is "f01" then your jquery selector would be:

    input[name="f01"]
    

    define the scope of the event live.

    Your dynamic action will trigger JavaScript. (BE SURE TO DESELECT FIRE ON PAGE LOAD). To make sure that you have the jQuery selector right, initially just to put a pop-up message in the JavaScript.

    alert('You Clicked the Row Selector!');
    

    Run the page. Click on the line selector. If you get the noise until you have specified the jQuery selector correctly. Yay!

    Then, assuming the above is correct. You can now determine if all have been selected.

    Now, set it to SELECT FIRE on PAGE LOAD (you want deleting DialogResult.Cancel when you open the page).

    Change your JavaScript like this:

    var checkedCnt = $("input:checked").length;
    
    if( checkedCnt > 0 )
    {
       $('#MY_DEL_BTN').show();
    }
    else
    {
       $('#MY_DEL_BTN').hide();
    };
    

    -Joe

  • Hide filter interactive report dynamically after the page load

    Hello

    I try to hide the section of interactive report filters (hide/show the area with +/-sign on the top of the report) the loading of the page

    I have the reference to the thread after http://apex-at-work.blogspot.com/2011/02/hide-interactive-report-filter.html posted by Tobias Arnhold...

    According to the expert, all I have to do is post the following code the code JS "page loading" within a dynamic action...


    / * Hide filter IRR after page load * /.
    If ($('#apexir_CONTROLS_IMAGE').attr ("src") == ' / i/minus.gif ') {}
    gReport.toggle_controls ($x ('apexir_CONTROL_PANEL_CONTROL'));
    }

    I did, but apparently it does not work for me...

    I posted a sample on APEX. Oracle.com for review and comment

    Thank you

    Edited by: qwe12654 may 3, 2011 19:15

    Hello

    01. in the report Footer region put this

    
    

    * This will hide your filters, highlight conditions

    02. then Goto 'Report attributes' => 'Search Bar' => for 'Include search bar' select 'no '.
    * This will hide the full search bar (do this only if you want to hide this part)

    * If you get the answer then mark as 'Correct '.

  • Turn off the lines in the region of the table when the page loads in standard page using the CO Extension

    Hi all

    I have a requirement in standard page OAF, When page load I need to disable a region advanced table standard page column and if we add the new line this column must be activate.

    Please help an emergency.

    Kind regards

    Manoj Kumar belaid.

    Maury,

    You will have to go with SPEL. Create an extra in your VO and default attribute set to true.

    Use as the SPEL for the disabled/ReadOnly property of the column.

    Reference: advice of Oracle of Johny: OAF: Spel liaison

    See you soon

    AJ

  • Im trying to open a file online and it just goes to the page load and custom 'Please wait '.

    I have updated, the player is the most recent version, but everytime I try to open the online form, just of navigates to the page of waiting if you please and does not load

    You can try the fix for IE so he can use the Adobe Reader plug-in software available here: help Acrobat | Display PDF in browser. DC to Acrobat, Acrobat Reader DC

    You can not Chrome use the plug-in. It is not supported.

    Your other option would be to right click on the link to the pdf file, save it and open it in the drive itself.

  • How to automatically fill the MessageLovChoice area when the page loads?

    I created a MessageLovChoice iteam in my page. However when I click on it for the first time, it does not display the list of values. It shows that «more...» »

    After clicking on "More."... ', it opens popup LOV I can find - select value.

    How to fill out the list of default when loading the page without needing to click on "More"... » ?

    Please notify.

    Hello

    It is the default, the functionality of MessageLovChoice. Instead, you can use messageChoice Bean, if the value in the choice is few.

    Kind regards
    GYAN

  • hide and show the region - hide by default

    Hello world
    I had a hide / show region on my page. I want to hide this default region (on each page load).
    In fact, it is open by default.
    How can I get that?
    I have tried many things, searched a lot of problems that.
    But I can not find a solution, which helped me.
    I am using a theme not Standard apex.
    Any suggestions?

    First run page using firefox or chrome and identify the name of the region, i.e. the #REGION_ID # in the model translates into something like "region5" when rendering.

    Change Page, in the section Javascript executed when the Page loads, enter the following command

    hideShow ('region5', 'shIMG5', '', '');

    This should toggle the current show / hide mode.

  • Apex - how to set hide and show checkboxes at the event button

    Hello


    How to set up HIDE/SHOW check boxes when click on the events button. (apex)

    If I press the button and then the box will appear.
    If I press it again then check box will be disapper.
    Can u please help me solve this issues in the APEX.


    Thanks in advance.
    concerning
    r

    My steps:

    1 create the point of the box
    LOV:

    select 'orange' d, 'orange' r
    from dual
    union all
    select 'apple' d, 'apple' r
    from dual
    union all
    select 'banana' d, 'banana' r
    from dual
    

    2. create the region button. Specify the redirect URL and URL target as #.

    3. create a dynamic action

    Advanced

    Event: Right click; Selection type: jQuery Selector; Select jQuery: button [value = "Toggle"]<-- where="" toggle="" is="" the="" label="" of="" my="">
    Action: Run the JavaScript Code. Fire when the Page loads: uncheck the box. Code:

    var ele = $('#P34_FRUIT');
    
    if (ele.css('display') == 'none'){
         $x_Show(ele);
    } else {
         $x_Hide(ele);
    }
    

    Leave the rest and click on create

    Click the button to see it disappear and other things (not tested in IE).

    I did sample: http://apex.oracle.com/pls/apex/f?p=23834:34

  • Hide and show region - open if Item not Null

    Hello
    I use APEX 4.0 and can not find a way to get the skin and see the region develop if a Page element has a value (is not Null) in the region, without clicking the sign more. I would like it done automatically based on an item that has a value or not. null or not null. I know how to have always hide it and see the region see the/develop once the shape is present. But if the item is null the region hosts not on the loading of the page, but when an element has the value when the page opens, I want the area to be open / extend without having to click the sign more. I searched the forum and found a large number of threads to have just the Hide and Show open area / develop once the form on the page is open, but not what I need now. Thanks for reading this thread and look forward to a support for this issue.

    Hi Charles,

    I created a dynamic action on page 7, it works as expected.

    This code will only work with your current theme, because the rocker is made according to the css class of the > icon (as you can see in the live action)

    Thank you

  • Lack of "automatically hide and show the menu bar.

    Hi all, I want to hide my menu bar. I watched how disappear - it turns out that the checkbox "automatically hide / show menu bar" is missing. It is supposed to be under "use donkere menubalk en donker Dock. Why is it missing?  Thank you very much!

    Hi Mjappie

    This feature has been added in El Capitan.

    You must update to 10.11.3 to hide and show the menu bar.

  • Hide and show parts

    Hello

    I use hide and show areas on my page. But now I have a problem. Whenever the page is reloaded, all regions are reduced. Is it possible to ensure that the regions that have been opened, are open again when the page reloads.

    Thanks in advance,

    Bram.

    Hi Bram

    Check this.

    [http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#STICKY]

    See you soon

    Ben

  • Dynamic action - Hide and show interactive report

    Hello

    in the apex community tip http://www.oracle.com/global/de/community/tipps/apex40-dynamicactions/index.html (only in German), there is an example to hide and show a report interactive by dynamic actions.

    The approach described in the article should be case for normal or interactive reports.
    But in my case it works for normal relations. I am not able to update or hide the interacitve dynamic equity report.

    Has anyone had similar experience?

    Greetings
    Michael

    Hello
    You are welcome.

    * It is considered good etiquette to the responses of reward with points (as "useful" - 5 pts - or 'correct' - 10pts). :)
    Thank you
    Logaa

  • Hide/show items based on another point when the page is rendered.

    Hello

    I am trying to hide or display the elements on the page when the page is rendered according to the value of a checkbox control.

    That's what I use.

    Body HTML attribute:

    OnLoad = "initialCheck (); »


    Header HTML:
    function initialCheck () {
       if (html_GetElement('P21_BEN_SAVINGS').value != 'YES') {
          html_HideItemRow('P21_COST_SAVING');
          html_HideItemRow('P21_LOCATION_CODE');
          html_HideItemRow('P21_ACCOUNT_NO');
          html_HideItemRow('P21_SVG_DEPT');
          html_HideItemRow('P21_RATIONALE');
       } else {
          html_ShowItemRow('P21_COST_SAVING'); 
          html_ShowItemRow('P21_LOCATION_CODE');
          html_ShowItemRow('P21_ACCOUNT_NO');
          html_ShowItemRow('P21_SVG_DEPT');
          html_ShowItemRow('P21_RATIONALE');
       }
    }
    I want the items listed to show when the page is loaded when the P21_BEN_SAVINGS is checked (equal to 'YES'), but they are hidden in this situation.

    I see not the onload call in Firebug, and I don't know if it is the configuration of firebug or that JavaScript is not fair.

    Thanks for any help!

    Matt

    Hi Matt

    Try this

    function initialCheck () {
       if ($v('P21_BEN_SAVINGS') != 'YES') {
          $x_HideItemRow('P21_COST_SAVING');
          $x_HideItemRow('P21_LOCATION_CODE');
          $x_HideItemRow('P21_ACCOUNT_NO');
          $x_HideItemRow('P21_SVG_DEPT');
          $x_HideItemRow('P21_RATIONALE');
       } else {
          $x_ShowItemRow('P21_COST_SAVING');
          $x_ShowItemRow('P21_LOCATION_CODE');
          $x_ShowItemRow('P21_ACCOUNT_NO');
          $x_ShowItemRow('P21_SVG_DEPT');
          $x_ShowItemRow('P21_RATIONALE');
       }
    }
    

    Max

    Published by: - Max - April 28, 2010 10:42

    Published by: - Max - April 28, 2010 10:43

  • refresh the html region when the selection list or selected ir line chang

    Apex 4.2

    Hello

    I made a simple page for test actions.

    I have

    -an interactive report and a selection in my first area list.

    -a field of text (P5000_indid) to keep the selected indid

    -region of html where the source is:

    DECLARE

    CURSOR c_ind IS

    SELECT indid, ind, industry

    IND

    WHEN indid as: P5000_INDID;

    BEGIN

    FOR a c_ind IN LOOP

    HTP.p ("< style b =" white-space: nowrap;) "> Indid: ' |" a.indid |' ---> ' || a.Industry: '< /b > < br / >');

    END LOOP;

    END;

    I'm sorry, but I m a bit confused with all the things I read before and do not know what is possible or not and what is the best practice to:

    1. select in the selectList (is it also possible to retrieve the selected (highlighted) or line in the IR)

    2 update the P5000_INDID

    3. refresh the html box according to the value of P5000_INDID (I was able to refresh an IR according to value, but there was the possibility to say what variable to present, but I have no

    see for the region of html)

    I m doing this test, because in the end, I would like to be able to regresh a small chart according to the selected line of the IR.  Do you think that it is possible to s?

    Sorry for my newbie question

    Thanks for your help

    L.

    OK, I finally found everything that I needed,

    You can test it on:

    http://Apex.Oracle.com/pls/Apex/f?p=53793

    Demo/demo

    the content of the output area now is the result of an application process, according to a parameter.

    It is called with javascript onChange and response replace the contents of the region

    and you can also see that I can now select a line and show it by changing the color of the line, and then update the output.

    and when a line is selected, it resets the selection on the selectList to avoid triggering the event on the selection list.

  • How to keep the region selected when the page is sent

    Hello

    I created a page with several area equipped with a region selector.

    When the page is sent, the region selector returns to 'show all '.

    I would like to keep the selected region, but don't know how.

    Any ideas?

    APEX version: 4.2.6.00.03

    Theme: 26

    Best regards

    Klaus

    Hi Klaus,

    Please follow the Blog solution

    http://blog.theapexfreelancer.com/2011/11/sticky-region-display-selector/

    Hope this helps you,

    Kind regards

    Jitendra

Maybe you are looking for

  • My Avast antivirus tells me it blocks "JS:Iframe - DPX [Trj] Infection" whenever I use Mozilla I have removed and reload Mozilla but still not the mess

    My Avast antivirus tells me it blocks "JS:Iframe - DPX [Trj] Infection" whenever I use Mozilla. I have removed and reload Mozilla but not always the message. Can someone tell me how to remove this virus that apparently focused on Mozilla. Thanks Bill

  • HP Envy 5530 always offline

    I have problems with my printer again (2 months) HP Envy 5530. It is always appear as "offline". I cycled power on the printer and confirmed that it is connected to my wireless router. I checked for the latest downloads for your printer and am up to

  • Services edit problems on RV016

    I need to change some firewall rules and the service on a RV016 using remote access management. I need to add a few new rules of firewall and need to add new services. But it is impossible to add a service. I click on "Service Management"-online "Ser

  • Fading blue light still does not light

    The blue light on my pc Tower after will not be used for a period of time fades in (I think it's in mode 'sleep'?) anyway it will not light back? I touch the mouse... nothing. The keyboard... nothing. I press the power button... nothing and if I pres

  • Stuck on workflow

    I'm stuck on a workflow that I am creating.  I'm looking to remove the installer who gets left on the computer after the tools virtual is upgraded.  Of (for the most part Linux VM).  I have attached my workflow.  I'm stuck on personal decision making