How to Hide / Unhide iGrid Applet

I'm attempting to develop an irpt page which will feature two grids / applets.  The topmost grid will be visible upon initial load of the page.  Upon selecting a record from the top grid, I'd like to then unhide the bottom grid so that a user may select a row from it before then calling another page.
I've tried all of the following methods to hide / unhide the grid but none appear to be working:
1)  Set the style.display of the applet to 'none' and then set it to 'inline' after row selection of the top grid.
2)  Set the column widths of the bottom iGrid to 0 and then use the document.iGrid-applet.ColumnWidths=x,y JS command after row selection of the top grid.
3)  Set the initial width of the iGrid applet to 1 X 1 and then use the document.getElementById("applet-iGrid").style.width / height = 'xxxpx' after row selection of the top grid.
None of these solutions work.  It appears that once the iGrid applet is loaded, none of these properties may then be utilized to change it's appearance.
How can hide upon load and then subsequently unhide an iGrid applet??
Thanks in advance,
Randy

Thanks Udayan - this worked. 
Only other tidbit was that it appears you first have to set the style display to inline in the div tag (to ensure all subsequent object references to the grid are valid). 
Then in the function called by the update event of your top iGrid applet, you have to hide the bottom iGrid/applet with the style="display:none" command.
Then in the function called by the selection event of your top iGrid applet, you have to unhide the bottom iGrid/applet with the style="display:inline" command.
This ensures the applet is first displayed (so that all references to the grid object are valid), hide it when the first (top) grid is displayed, and then unhide it when a row is selected from the first (top) grid.
Thanks again,
Randy

Similar Messages

  • How to hide ,unhide columns  in ALV List

    Hi all,
    How to hide ,unhide columns  in ALV List..
    Plz guide me.
    Thanks in advance..
    Albert

    Hi Joseph,
    Check the following thread:
    Hide Unhide columns of ALV grid Report.
    Regards,
    Archana

  • How to hide/unhide the all Treenodes on Treeview based on Checkbox changed event in Sharepoint custom webpart Sitecollections

    How to  hide/unhide the all Treenodes on Treeview based on Checkbox changed event?
    Checkbox(Control)
    1.Checkbox Checked:(Action below like)
     if user click on  Checkbox, all the treenodes on treeview is hide.
    2.Checkbox Unchecked(Action below like)
    If user uncheck the Checkbox  all the treenodes on treeview is unhode.
    Could you please help me how to do above one.
    Badri

    Hi,
    According to your post, my understanding is that you want to hide/show the TreeView when the Checkbox checked/unchecked.
    We can use jQuery to achieve it, the following script for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    $("input[type=checkbox]").click(function () {
    if (this.checked) {
    $("#TreeViewID").hide();
    } else {
    $("#TreeViewID").show();
    </script>
    More information:
    http://dineshsharepoint.blogspot.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to hide / unhide text baxes on button click in JSF page using javascrip

    Hi,,
    I want to hide/unhide text boxes on a button click.
    How to do it in .jspx page using javascript.

    Hi,
    refer this
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" title="#{lcRes['page.title']}">
         <af:resource type="javascript">
            function hide(evt){
                evt.findComponent('itToHide').setVisible(true);
         </af:resource>
          <af:form id="f1">
            <af:commandButton partialSubmit="true" id="cb1">
                <af:clientListener method="hide" type="action"/>
            </af:commandButton>
            <af:inputText id="itToHide" value="xx" label="this will hide" clientComponent="true"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

  • How to hide/unhide the Develop panels

    all my sliders disappeared on the develop
    how do i restore them
    like temp, tint, ect
    stupid i cant do this solo
    Message title was edited by: Brett N

    Press <Tab> on your keyboard.
    Also, there is a small grey triangle about halfway up on the very right of the screen that - when you click it - toggles the visibility of the side panel.
    Same goes for left side panels and also for other Modules.

  • JavaScript - How to collapse/uncollapse (hide/unhide) the top menus in SharePoint 2010?

    Hi there,
    I will appreciate if someone can provide JavaScript that can hie/unhide the top ribbon and navigation menu? (SharePoint 2010)
    Thanks.

    Hi,
    By investigating the page source, we can see that the Ribbon is corresponding to the <div> whose id is “s4-ribbonrow”, the Top Navigation is “zz17_TopNavigationMenuV4”,
    then we can change the style these two elements to hide/unhide them.
    The links below with code demos about
    how to hide/unhide page elements using JavaScript for your reference:
    http://www.w3schools.com/jsref/prop_style_visibility.asp
    http://www.javascriptkit.com/javatutors/dom3.shtml
    http://www.dustindiaz.com/seven-togglers/
    Here is a link about
    how to find a specific element on a page using JavaScript:
    http://javascript.info/tutorial/searching-elements-dom
    Feel free to reply if there still any questions.
    Best regards
    Patrick Liang
    TechNet Community Support

  • HT203167 I transferred a movie from a digital copy disc to iTunes and when I saw it in Downloads, I accidentally tapped Hide. How do I unhide it from the iPhone or computer? It said to look in account info. Where would that be on the phone or computer?

    I transferred a movie from a digital copy to iTunes and tapped Hide by mistake in the Downloads. How do I unhide the movie? It said to do this in account info, how do I do this on the iPhone or computer?

    The movie is from iTunes.   You would think that a download from iTunes to a MacBook could be watched on an HDTV using Apple TV without any headaches bit this does not appear to be the case. 

  • I hide my ipod by mistake.  How do I unhide it on ITunes?

    I hide my ipod application on ITunes.  How do I unhide it?

    Check your Trash. Select Put Back if it's still in the Trash.
    If you need to re-install open the Mac App Store (MAS) and go to Purchases. Find iPhoto and select to download.

  • I hid my folders in outlook for mac by mistake.  how do I unhide them?

    I hid my folders in outlook for mac by mistake (inbox, sent, etc).  How do I unhide them?

    Microsoft probably do, since they are the people who developed Outlook. Have you asked them on their support site?
    Alternatively, you can create IMAP folders in your iCloud email account at iCloud.com and they will show up in Outlook when the account is refreshed.

  • HOW DO I HIDE & UNHIDE APPS PURCHASED IN APPS STORE PURCHASES LIST ON MY MAC

    HOW DO I HIDE & UNHIDE APPS PURCHASED IN APPS STORE PURCHASES LIST ON MY MAC? MAVERICKS 10.9.5...

    You need to reach level 3 (500 points) to add a custom avatar.
    As you collect reputation points, your status level increases and you receive additional privileges.
    Level
    Points
    Privilege
    1
    0
    2
    150
    Report posts
    3
    500
    Upload a custom avatar
    4
    1,000
    Attend conference calls
    5
    4,000
    Create User Tips
    6
    8,000
    Access the virtual MVP lounge. Attend in-person Communities meetups.
    7
    20,000
    8
    35,000
    9
    50,000
    10
    80,000+

  • How to hide and then unhide AD objetcs?

    Dear all,
    I want to know how to hide and then unhide AD objects?
    Thanks
    Regards

    Microsoft
    Active Directory (AD) has decent capabilities for setting permissions on objects. You can use these permissions to allow delegated administration of users, groups, or computers to any security principal. In this way, many daily operations don't need to
    be performed by domain administrators. But when it comes to making specific data visible to only those users who need to see it—either because typical users shouldn't see the objects or because the data is truly confidential—the default AD permissions can
    make the task rather complex.
    Using the Confidentiality Bit to Hide Data in Active Directory
    http://windowsitpro.com/active-directory/using-confidentiality-bit-hide-data-active-directory
    Regards,
    Biswajit
    MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
    Blog:
      Script Gallary:
      LinkedIn:
    Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights..

  • How to Dynamically Hide-Unhide Report Details

    Is there a technique to hide/unhide data?
    I am creating a report that summarizes transaction data. The users want the opportunity to review the details behind the summary as the report is being reviewed.
    Is there a way to hide the detail data while providing a mechanism for the reviewer to view the detail as desired?
    TIA

    I have implemented this in BI Publisher enterprise and using the desktop version and I don't get this error..
    I did come across another thread that discusses this error. R12: Namespace prefix 'dhtml' used but not declared.
    Not sure if that addresses your setup and issue.. You can send me your template to [email protected] if you would like me to take a look.
    Thanks!

  • How to hide a drive in Windows 7, Service Pack 1

    Could someone please tell me how to hide a partitioned drive (example my drive E:/) so that my kids cannot access it on their separate, non administrative account?

    How to hide a partition in Windows?
    Right-Click on My Computer [Computer in Windows Vista and Windows 7]
    Click on Manage
    From the list of options Click on Disk Management that will be located in the left-bottom section
    All your hard disk and its partitions will be show in the right hand side
    Right-Click on the partition that you want to hide and select "Change Drive Letters and Path"
    Click on "Remove" and click "Yes"
    Your drive will now be hidden in my computer
    To unhide the drive :
    Go to Disk Management Right-Click on the hidden partition [there will not be a drive letter on the hidden drive] again select "Change Drive Letters and Path"
    Click on add and select an appropriate drive letter.
    Click Ok
    Now the drive is unhided.
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • How can you get an applet to obey the CSS z-index attribute?

    How can you get an applet to obey the CSS z-index attribute?
    I have a DHMTL page with a panel that I want to slide back and forth. But another part of the requirement is to have the panel look like it is sliding under another panel.
    The problem is that an applet is on the panel that slides. When the sliding panel move under the stationary panel the applet does not go under the stationary panel, but the reset of the sliding panel does render looking like it is sliding under.
    See below.
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~           #############***************           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #############^**************           ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    ~ has a z-index of 1
    # and * have a z-index 2
    # shows above ~ and below ^
    ^ has a z-index of 3What I am getting with the applet on the panel with a z-index of 2 is the following
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~           #############***************           ^ -
    - ~           #            ^             *           ^ -
    - ~           #  @@@@@@@@@@@@@@@@@@@@    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @@@@@@@@@@@@@@@@@@@@    *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #############^**************           ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    --------------------------------------------------------Where @ is the applet. Notice how the applet is on top of the ^ but the panel under it, ^, is under like it should be. All the panels are 1x1 tables with a border. So how can I get the applet on the drawing shown with # and * to follow the rendering of the z-index of 2?

    Hi,
    I have the same problem, and don't know how to solve it, So, i had tried to put my applet in a div tag wih z-index=0, but it still hide my other Dhtml divs with bigger Z-index (z-index =1000)
    Have you any idea to solve this.
    Thanks
    Hakim

  • How to hide some of my purchases in iOS7

    How to hide some of my purchases in iOS7

    Hi cnavap81,
    Thanks for visiting Apple Support Communities.
    You can hide or unhide purchases using iTunes on a PC or Mac. This article explains how to do so:
    iTunes Store: Hiding and unhiding purchases
    http://support.apple.com/kb/HT4919
    Best,
    Jeremy

Maybe you are looking for

  • Not working 2 of 4 usb ports on imac

    Why not working 2 of 4 usb ports on imac?

  • Process Choreogaphy-- Staff Activity Problem

    Hi , I am using a staff activity in my BPEL. The client property of the Staff activity is Portal. Here we have to set the custom unique name and type also. But my problem is i want to set the Client property , i.e custom unique name dynamically. I us

  • DOWNLOAD FLASH MX 2004 PROFESSIONAL

    Hello, i'd like to download the trial flash mx 2004 professional version, but i'm not able to find a site from where i can download it. Does someone know one? thank you Giulio

  • Oracle Express vs Enterprise?

    Hi, I was wondering if there is a fact sheet out there on the differences between the various Oracle DBs. I have not been able to located one yet. I'm mainly interested if there are performance differences if any. If anyone could point me in the righ

  • Can i do this in one statement

    Assuming I have the following column: COLUMN 2.6 1.8 4.6 1.1 0.4 Is it possible to round to the nearest 0.5, for example: COLUMN 2.5 2 4.5 1 0.5 Preferably in a single SQL query?