Want to Hide region

Hi All
i had created one form and report on a single page of application.But in my case if user will insert new data in form and press CREATE button then user will stay on same page and form will disappear from the page and data will insert into intereacirve report also.
How could i get this?for that should i need to write any java script ya smthing...
please let me know
Thanks
rommy

Rommy,
I copy your page to page 2 as I don't want to mess up with your code. Please take a look at it. Again, there might be other easy way to do this. I am also a learner, so, if there is better way, please share with me as well.
What I have done was,
1. Create a hidden variable for display status for Form region
2. add a button in the report region to basically add new customer
3. when that button click, set the display to 'SHOW'
4. add conditional display in the form region to display if the display status variable is 'SHOW'
5. add conditional display in report region to display if the display status variable is not 'SHOW'
6. add a process to change the value of display status to 'HIDE', and that process will execute only when user click on either 'CREATE' or 'APPLY CHANGE' button
7. modify the cancel button to set the value of display status variable to 'SHOW'. that way when user click on cancel in the form, it should display the report again.
HTH.
SHY

Similar Messages

  • Hide Region When Click On Region Name Then Region is Display

    Hi ,
    I want to hide region click on REGION NAME like This Report
    [http://apex.oracle.com/pls/apex/f?p=267:4:1532929568077413|http://apex.oracle.com/pls/apex/f?p=267:4:1532929568077413]
    thanks

    Hi,
    For that, I have created a "Hide Show Region on Title Click" Region Template
    Create a new Region Template through Shared Components. This should be created "From Scratch" as there is only one setting in the template that requires any content. When that has been created, edit the template and copy the following into the "Template" setting:
    <script type="text/javascript">
    function toggle()
    var r = $x('#REGION_ID#body');
    r.style.display = (r.style.display == 'none')?'block':'none';
    </script>
    <table class="t18Region" id="#REGION_ID#" border="0" cellpadding="0" cellspacing="0" summary="">
    <tbody class="hideshow">
    <tr><th class="t18RegionHeader"><a href="javascript:toggle();">#TITLE#</a></th></tr>
    </tbody>
    <tbody id="#REGION_ID#body" style="display:none;" class="hideshowcontent">
    <tr><td class="t18ButtonHolder">#CLOSE#  #PREVIOUS##NEXT# #DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</td></tr>
    <tr><td class="t18RegionBody">#BODY#</td></tr>
    </tbody>
    </table>Note that this example uses Theme 18 - so the class names shown here are "t18....". If you are using a different theme, you can find the correct class names from another region template.
    Andy

  • JavaScript to Hide Region

    I would like to hide an entire region based upon JavaScript. I can't use the conditional display of a region because this is on-demand and can't submit the page to check value. I can hide specific values, but the labels remain and the region border remains. Here is what I have so far.
    onchange="Show_On_Selectlist_Value('P15_SIRT_DCSN_ID','6');"
    <script>
    function Show_On_Selectlist_Value(pParent, pValue)
    var rv = $x(pParent).value;
    if (rv == pValue)
    html_ShowElement('P15_RR_COMMENTS');
    html_ShowElement('P15_RR_USER');
    html_ShowElement('P15_RR_DATE');
    else
    html_HideElement('P15_RR_COMMENTS');
    html_HideElement('P15_RR_USER');
    html_HideElement('P15_RR_DATE');
    </script>

    For the region you want to hide, provide a value for the 'Static ID' attribute. You can then use the built-in javascript functions '$x_Hide(pnd) and $x_Show(pnd) 'to display or hide this region.
    example $x_Hide('REGION_STATIC_ID') http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/javascript_api.htm#CHDDAGFE
    varad

  • Hide Region from Dynamically

    Hi, everyone
    Is it possible to dynamically hide a region?
    I have an HTML region with an <IMG> in it and i want to hide it after a report is fully displayed. am i able to do something like this?
    Thanks in advance
    Daniel

    Hi Daniel,
    I think what you are looking for will not work, only in case if you use AJAX to call your report.
    To my knowledge APEX doesn't return anything to the browser until it is finished rendering the page. So if your report takes longer to render, the part above the report region will not be sent to the browser until the report and the regions below are rendered.
    If your "please wait" is integrated into a region on the report page it will not have a real effect. Maybe you should go with the example Andy provided.
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com
    Check out the ApexLib Framework: http://apexlib.sourceforge.net

  • Printing: Hidding Regions

    Hi Everyone!
    I have this page that has 3 regions. the first region has buttons, the second has a list of items and the third contains the table. I would only like to print the region that has the table when going to File->Print without selecting the "Print selected items" option from the web browser. Plus I would like for my people to go green and print less pages as possible, trying to condense everything to one page.
    Is there a way when printing a page some items can be hidden so everything can fit in one page?
    Thanks,
    Bino

    Hello Bino,
    >> I was trying what you suggested and it seems that regions cannot be hidden when I try to print.
    I’m using this technique myself, so I know that when applied correctly it is working.
    >> Any help?
    It’s hard to help you when you didn’t give us any information about what you did, the code you have used, etc. However, the following is a code I’m using in one of my pages, to hide a region:
    <style type="text/css">
    @media print {
      #R3404110703102951 {
         display: none !important;
    </style>The ‘R3404110703102951’ is the specific region ID you want to hide. You must use a specific CSS ID selector so other regions on the page, which are using the same generic region class, will be printed.
    If this example is not enough, please give us some more information about your scenario, or even better, put an example page on apex.oracle.com.
    Regards,
    Arie.

  • Hide region if no data found in another region

    I have 2 regions on a page.. I'd like to hide the second region if no data is returned by the SQL query in the first region.
    I know that the obivious way to do this is to use the same SQL in the second region and make it conditionally display. But I don't want to run the SQL twice against the database for performance reasons.
    Is there any (preferably easy) way to check the contents of Region 1 from Region 2 and hide Region 2 if Region 1 has no data in?

    Hello,
    You can write a javascript function, that will check whether you report has any rows, if not will some APEX flag item.
    For example, after the report will be fetched you can write something like this:
    <script type="text/javascript">
    var els = document.getElementById('R1708927825979432').rows;
    if (els==0){document.getElementById('P1_FLAG').value=0;}
    </script>
    I'm not exactly sure that it will work, but you can try....
    Best Regards, Kostya Proskudin.

  • In ALV report.The user wants to hide specfic fields

    Hi
    In ALV report.The user wants to hide specfic fields  but the user must be able to add these fields to the report:
    can any one give the suggestions

    in reuse alv list display or grid
    i_save  = 'A'.
    now user can choose the layout.
    for hiding
    in fieldcat
    wfieldcat-No_out = 'X'.
    regards
    shiba dutta

  • Want to hide or mod FCP 6 Splash Screen

    Just want to hide the splash screen on my FCP system. I rent it to indy projects and I want to protect my serial. How can I access the Splash Screen Image? I've been able to mod the splash screen on all the other apps on the rental system but can not find or get to the Splash Screen for Color and FCP 6. I know that a real hacker can find my serial some how but I am not trying to block those geniuses. Just the lazy ones that are willing to go as far as copying or screen grabbing my Splash Screen and or About Screens to get a working serial. I know how to mod the Splash Screen to hide my serial and how to hide the app so the user can't get to the splash screen. I just don't know where the splash screen file is. I've read that it is in the .nib files? I just wanna hide my serial. Don't care if I mod it myself or install an app that does it for me. Any apple people or anyone else know what I can do to protect my product. I've also been told that the splash screen does not display the full serial but it soo totally does. Hey apple, please add the ability to hide this splash screen. Perhaps with it's own password to unlock and show again? OR, make splash screen hiding a universal ability in the OS. That would be sweet! Anyway,... ideas?

    Hey all. I have been able to mod the splash screen on all the apps in FCP Studio 2 except for FCP and Color. The other studio apps Splash Screens access a .psd file. The only files I've found in Color that seem like they might be the splash screen files are ft_splash.Isi, ft_splashEDU.Isi, ft_splashNFR.Isi and ft_splashVOL.Isi
    How do I open a .Isi file? If I can figure that out I can hide the serial number for Color but it still leaves FCP. Why do apps show the serial on the splash screen at all? What purpose does this serve?

  • How do I delete a song from my Itunes library? I follow the instructions and right click on the song and click delete from the drop down menu but, then it asks me if I am sure I want to hide this song in Iclouds? I dont even know what Iclouds is?!?! HELP!

    How do I delete a song from my Itunes music library? I follow the instructions and right click on the song and then select "delete" as specified and my info claims at that point it will ask if I want to send this song to my trash bin, but, instead, when I try to delete the song, I get another window asking "are you sure you want to hide this song in iCloud? I don't even know what iCloud is?!?!? I don't want iCloud and just want to get rid of old songs!!! HELP ME!!!

    Short answer:
    Click Hide Song(s), it is what you wanted to do...
    Long answer:
    iTunes in the Cloud is a feature of your iTunes store account that allows you to redownload or stream your past purchases. When you delete a purchased track that is downloaded to your computer (like the first one shown here) you are asked if you also want to hide the song from iCloud. This would remove it from the computer and also stop it showing up with the iCloud symbol as the other tracks from that album (which are not downloaded) do.
    If a track shows with the cloud symbol you can play (stream) it by double-clicking the title, or click the cloud symbol to download a local copy to your library. If you try to delete one of these tracks you get a slightly different message confirming that you want to hide the track. Clicking hide will remove the listing from the library and any other device that shows your past purchases.
    Should you want to retrieve any item hidden in this way at a later date use Store > View My Account > iTunes in the Cloud > Hidden Purchases > Manage.
    To hide all your previous purchases that are not downloaded to your computer use Edit > Preferences > Store and untick Show iTunes in the Cloud purchases.
    tt2

  • Want to hide the drop down based on text field value

    Hi,
    I want to hide some of the values in drop down based on one text field value.
    I have the field called name which has the value A, B, C, D and also one drop down list which has the values 1,2,3,4,5,6. I want to hide the some of the values in drop down based on A or B or C. Let say, If it is A, drop down value should be 1,3,5. If it is B, Drop down value should be 1,2,3,4. Like this for every record.
    Can you please help me out.
    Thanks
    Ram

    Hi Robert,
    I am trying it in two different way. Please suggest which is the right one and feasible.
    1) I have the drop down list which has all the status. I am trying to hide the drop down values based on one text field value for all records.
    2) I have collected all the drop down values into table in webdynpro method. Rightnow I have two tables.
      one has line items details and another one have drop down values. both tables having common fields.
      I have to show second table values for that particular key, move all of them to drop down.
    Which is the best and feasible option.
    Thanks
    Ram

  • I want to hide a column in report 6i

    hi
    I want to hide a column in report 6i,
    I used this code
    function F_col_qty3FormatTrigger return boolean is
    begin
    if :color3 is null then
         return (false);
         else
    return (TRUE);
    end if;
    end;
    plz note that COL_QTY3 and COLOR3 both are from different table
    and resulting gave this error
    REP-1314 Format trigger 'F_col_qty3' reference column 'color3' at wrong frequency.

    You can format fields from a lower level group using fields from an upper level field, but not vice versa. This is because for the same upper level field there may exist several values of the lower level field. If this can not happen in your situation, there is no reason to place the fields in different groups.

  • I' d just want my iPhone didn't alert on Holyday, but I don't want to hide the Holyday calendar.

    I' d just want my iPhone didn't alert on Holyday, but I don't want to hide the Holyday calendar. Default alert can't be set. Thank you.

    Did you restore your new iPhone 4 from the backup of your iPhone 3? Did you make a current backup of your iPhone 3 BEFORE restoring this backup to your iPhone 4? Photos in your camera roll are included in the iPhone backup, but they must be in that backup in order to restore them to your new phone.

  • I want to hide certain pictures in the "Gallery"so only I can see when I want.  How can I do this?

    I want to hide certain pictures in the "Gallery"so only I can see when I want.  How can I do this?

    Sometimes depending on the SD card (you set the sd card to be where photos are sent) and then place a security code on the files and photos. I know this can be done on a computer not 100% sure about a cell phone.
    Another option is to have the photos sent to Picassa (going to be Google+ shortly) or Photo bucket or other web spots for photos or even Drop Box etc. this way your photos are away from the phone, and only the ones on the phone you don't care about remain on the cell
    So I hope it works out ok for you.

  • I  want to hide the detailed navigation and portal favorites

    Hello:
        Every person in SDN!
        I find another problem in WPC.
        I create a WPC role called A.After I preview this role,I  want to hide the detailed navigation and portal favorites.
        but I don't know how to do?
        Who can help me?
        lexian
       Thanks a lot!

    hi,
    you can do using default frame work page.
    1.go in portal_content/portal_users/standard_portal_users
    2.open default frame work page unclick the top_level_navigation
    then you wont be able to see TLN
    jayesh talreja

  • I want to change region but i have 0.70$ i want to remove it , can you help me ?

    i want to change region but i have 0.70$ i want to remove it , can you help me ?

    Contact iTunes Support - http://apple.com/emea/support/itunes/contact.html - and ask them to clear your balance.

Maybe you are looking for