How to Expand-all, Collapse- all in a table ????

I am a beginner. I am using Jdevloper 11.1.2.3.0. I have a showdetailheader component as a parent and a Table as a child. There are 2 buttons "Expand-all" and "collapse-all" which references a managed bean.
In the showDetailHeader disclosed property a variable is set. When i click Expand-all button the variable becomes true and it discloses all the child nodes. When i click collapse all the reverse happens fine. Now the
problem is when i manually click any changes to the node on the page inside the showdetailheader, the collapse-all button doesnt collapse completely, It closes only till whichever node was not changed.The same problem comes with Expand-all also.
I tried to set the DisclosedRowKeys to null in the managed bean when the two buttons are invoked it did not work as expected.
Could some one pls give me some hint ????
- Pani

Hi Timo. Thanks a lot that was very helpful.
During the collapse operation do i need to set the disclosed row keys to null ???
will this solve my problem ?

Similar Messages

  • How to get all rows in table to red using alternate rows properties option

    How to get all rows in table to red using alternate rows properties option

    Hi Khrisna,
    You can get all rows red by selecting the color red in the "Color" and "frequency" to 1 under the "Alternate Row/Column colors".
    I tried doing it and the colors freaked me out (all red) :-D
    Kindly tell me if im missing something.
    Regards,
    John Vincent

  • How to identify all the child tables referencing a master table

    Hi,
    How to identify all the child tables referencing a master table.
    Could you please help me...
    Thanks in advance...

    Hi!
    You may use this query:
    SELECT master.table_name, child.table_name
    FROM   user_constraints master, user_constraints child
    WHERE  master.table_name IN ('REGIONS')
      AND  master.constraint_name = child.r_constraint_name
    /yours sincerely
    Florian W.

  • How to expand all frames in the document using a script?

    Hi,
    I have used the ImageCatalog script to place a 1000+ images of different dimensions in the document. On the ImageCatalog dialog box, I have unchecked the Proportional and Frame to Content option to place the images in 100%. I am looking for a way to expand all the graphic frames to reveal all the images it placed on the document. When you double-click the bottom-right handle, it would expand the frame to see the full content. (it would time consuming when you do this one by one)
    Let me know. Thank you very much.

    If I understand you correctly, you placed the images without using Fit Frame To Contents and now you are trying to rectify this? Do you get that making just the frames larger, at this point, may make them overlapping others? If that's going to be a problem, just run the script again but this time with the correct settings ...
    Anyhow. Typing on my iPad so I can't check; but something in the lines of
    g = app.activeDocument.allGraphics;
    for (i=0; i<g.length; i++)
      g[i].fit (FitOptions.FRAME_TO_CONTENT);
    See http://jongware.mit.edu/idcsjs5.5/pc_Graphic.html#fit

  • JTree - How to Expand all Nodes in the Tree

    I have a tree that has one primary node, two sub-nodes, and multiple sub-sub-nodes under those. I want to expand (show) all these nodes in the tree when the tree first loads. I tried expandRow() but that only seems to expand one row at a time by entering a single integer for the row. Is there any way to expand all rows/nodes when loading the tree?

    see
    http://forum.java.sun.com/thread.jsp?forum=57&thread=148793

  • How to expand or collapse the tree using node level.

    Hi All,
    I have 4 node levels in tree including the root at node level 0.
    If i click on node level1 for instance ,all the node level 1 should be expanded or collapsed.
    Only the root and and nodes at level 1 should be visible to the user.
    Can anybody pls help me to achive this functionality.
    Thanks,
    SRhodes.

    In the portal i can see something like a group with this property, but i can't find the component where is used this...
    You can see it in this [Screenshot|http://www.imaxenes.com/imagen/screenshot1de13a5.jpg.html]
    Wich type of UI Element can i use for do it ?
    Thanks !

  • How to find all the DDIC tables and fields of Tcode?

    Hi All,
    For several transactions we have caprtured all the filed names along with the technical names.
    Ex : in VA03 - in the initial screen ,postal code field is there.When i see F1 help for that field i could see POST_CODE2 as its technical name.
    But i want to see the actuall DDIC table field which corresponds to this field that is LFA1-PSTLZ.
    Like wise there are so many T-codes for which i need do the same thing.But for some transactions i am unable to find out the database tables and the corresponding fields.Please suggest any other easier way to do this.
    Is there any way to find out  all the DDIC tables and fields that gets updated for a Tcode?
    Please help me out in this.
    Thanks,
    Jyothi D.
    Edited by: jyothi dosapati on Mar 27, 2008 2:48 PM

    HI,
    DDIC tcode is  SE11
    GIVE THE TABLE NAME THERE AND CLICK DISPLAY
    FOR EXAMPLE
    TYPE LFA1 THERE AND CLICK DISPLAY....
    Regards,
    V .Balaji
    Reward if usefull

  • How to expand and collapse af:showDetailItem in keyboard Tab navigation

    i would like  to expand and collapse <af:showDetailItem/> by keyboard  tab navigation. is there any default functionality is available to achieve it.
    Thanks

    Hi,
    can you try with below config in your web.xml. It specifies where to store the view state of your application
    <context-param>
          <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
          <param-value>client</param-value>
       </context-param>regards,
    Rajan

  • How to get all the custom tables created in database

    Hi,
    Is there any sql query present to fetch the name of all the custom tables(Not the tabless inbuilt tables which is given by oracle) present in any module like iExp,iRec or anything.
    Thanks

    It is difficult to differentiate custom tables from the seeded ones if there is no naming conventions followed during their creation. The custom schema or owner name can be used to differentiate them.
    Thanks,
    Neeraj

  • How to expand all the nodes in a tree while loading the tree initially

    Hi All
    Now i am able to display the tree strucute in webdynpro.
    but it is displaying the tree initially in collapsed mode until/unless we click on the node root it will be expanded.
    but my requirement is i wanted to display the tree in expanded mode by default at runtime initially.
    can you please provide any setting to be done or any sample code on the same then it would be great help to me.??
    Thanks
    Trisha

    Hi,
    isLeaf is an attribute you need to create under "CatalogEntries" node. And "isRoot" is not requried.
    Download the sample project "TutWD_TreeByNestingTableColumn". See the below link to dnld this project.
    https://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/503f22f6-b978-2a10-bf97-ddc21267e752 [original link is broken]
    Do the changes in sample project as below:
    Invoke this method in the init method as below (as it is in the same project).
    addCatalogEntries(wdContext.nodeCatalogEntries(), "ROOT");
    Change the code in addCatalogEntries() method as below.
    Here we are calling the addCatalogEntries() method recursively for all the parent elements and we are changing the  setExpanded property to true.
    public void addCatalogEntries( com.sap.tut.wd.treetable.wdp.IPrivateTreeTableView.ICatalogEntriesNode node, java.lang.String parentId )
    //@@begin addCatalogEntries()
    IPrivateTreeTableView.ICatalogEntriesElement newCatalogEntriesElement;
    for (int i = 0; i < Catalog.getLength(); i++) {
    if (parentId.equals(Catalog.getParentId(i))) {
    // create new context node element
    newCatalogEntriesElement = node.createCatalogEntriesElement();
    node.addElement(newCatalogEntriesElement);
    // provide node elements with data
    newCatalogEntriesElement.setID(Catalog.getCATALOGID(i));
    newCatalogEntriesElement.setTITLE(Catalog.getTITLE(i));
    newCatalogEntriesElement.setDESCRIPTION(Catalog.getDESCRIPTION(i));
    newCatalogEntriesElement.setAMOUNT(Catalog.getAMOUNT(i));
    if ("ARTICLE".equals(Catalog.getCATALOGTYPE(i))) {
    // checkbox is visible by default
    newCatalogEntriesElement.setPUBLISHED(Catalog.getPUBLISHED(i));
    // third level is last level
    newCatalogEntriesElement.setIsLeaf(true);
    } else {
    // a CATEGORY does not use the checkbox column
    newCatalogEntriesElement.setUsageOfPublishedAttribute(WDVisibility.BLANK);
    newCatalogEntriesElement.setIsLeaf(false);
    newCatalogEntriesElement.setChildrenLoaded(true);
    newCatalogEntriesElement.setExpanded(true);
    addCatalogEntries(newCatalogEntriesElement.nodeChildCatalogEntries(),newCatalogEntriesElement.getID());

  • Can someone tell me how to expand all email messages in mail 5.2

    as a default, so that my conversation is not strung together?
    I'm missing messages becuase I cannot figure this out....
    tku!
    pat

    Hi there, see if this helps...
    http://kb.earthlink.net/case.asp?article=137970

  • How to Enable All rows in Table

    Hi Friends,
    I have to create table in firstview. My requirement is I will give 4 or 5 inputs at a time then click on save button that input data will be saved in ECC system
    So in First View I have to create table by using apply template that time I have to pass all u201Cinput filedsu201D.
    In that time the table having only first row editable and remaining rows will be disable. I need all rows in enable in that Table.
    Or
    My Requirement is how to enter multiple input detals at a time. At a time customer enter 4 or 5 inputs click on submit buttion that data will be saved in ECC System.
    How to do this work.
    Regards
    Vijay Kalluri
    Edited by: KalluriVijay on Mar 5, 2010 12:34 PM

    Hi Vijay,
    The number of editable rows in the table would be equivalent to the number of elements the node to which the table is bound contains. In your case, it might be only having one element for the node as so you can only see that row enabled while the rest of the rows are disabled. So, in case you want even the rest of the rows to be enabled then, you should just create more elements for the same node (with or without setting any of the attribute within).
    Then, when you need to use the values in the table (existing or modified or new values), then loop through the table node and check if all the attributes within the node or the mandatory field value for the table entry is not nul, otherwise, ignore the corresponding table node element.
    Rather, I would suggest you to have a button say "Add Rows" and within the action of the node, I would like you to create one more element for the table at the end. This way, you wont have any unnecessary element in the table to be checked for not holding any value.
    Regards,
    Tushar Sinha

  • How to select all rows in table automatically after refreshing?

    Hi,All
    After refreshing the table,I want to select all rows,like MultipleButton's function.
    How can I do?
    Thanks
    Smile.

    Hi,-Grif-
    * Set the selected state for the given row groups
    * displayed in the table.  This functionality requires
    * the 'selectId' of the tableColumn to be set.
    * @param rowGroupId HTML element id of the tableRowGroup component
    * @param selected Flag indicating whether components should be selected
    function selectGroupRows(rowGroupId, selected) {
      var table = document.getElementById("form1:table1");
      table.selectGroupRows(rowGroupId, selected);
    }I don't know that the parameter selected is a boolean,or the checkbox(radio button) id?
    Thanks
    Smile

  • How to display all record from table?Please help

    I mean, if table has for example 5 records this5 records are displayed, if table has 100 records this 100 is displayed. If there are many records which are not visible in the window the scroll is added to window or to canvas that i could see them all.
    And one more, i want to separate each record with some separator like line or picture.
    TIA

    You can increase the space between each record by setting the Distance Between Records property for each item.
    If you want "sth like line" tnh u cn uz a nndtbs itm wiv 2 pxl hi plcd blw teh ovr itms. Alternatively, if you can write proper English, then for the separator you can use a non-database item 2 pixels high placed below the other items. Set the bevel, colour etc as you require, and set the Enabled property to false.
    As an alternative, to make each record distinct from the next you could give each a different colour by creating a visual attribute, and setting the colour of each item on alternate rows with code similar to this, in the post-query trigger
    if mod(to_number(:system.trigger_record),2) != 0 then
         set_item_instance_property('block.item1',current_record,visual_attribute,'VA_ODD');
         set_item_instance_property('block.item2',current_record,visual_attribute,'VA_ODD');
         etc...
    end if;finished this bit after steve's post below...
    To hide unused records you could try putting the items on a stacked canvas and change the viewport and scrollbar heights depending on the number of records retrieved. This might work or it might give you an error about items being off-canvas.
    It looks like you're intending this to look like a blog's comments page so you'll probably have disabled inserts in the block and will be inserting new comments in some other fields. If not then there will be a problem if the user is on the last record and presses the down arrow or uses the 'Record > Insert' menu option, as this could put them on a record which is not visible on the form. You might be able to get round this by extending the height of the viewport in the key-crerec and key-nxtrec triggers (check for :system.last_record = 'TRUE'. Obviously, you'll need to resize the viewport when you delete records if that will leave fewer rows of data than there are rows of fields.

  • How to bring ALL option in Table prompt in OBIEE Answers result area?

    Hi All,
    This is my requirement. For example, Please consider scott table. There is a column called DEPTNO. I am taking DEPTNO,DNAME,EMPNO,EMPNAME for display. If i edit the table and move this column DEPTNO to Table Prompt section. I am getting a drop down list with the following list of values 10,20,30,40 there is no option all. If i need to get the option ALL What i need to do?
    Please help me in this issue.
    Thanks in Advance
    Thenmozhi

    Hi Deva,
    I got the extra ALL in my DEPTNO Column which included all the values of 10,20,30,40 but when i move this column to table prompt after getting the option ALL and when i choose ALL it is showing the below error:
    *Error Codes: OAMP2OPY:GK3XOEE6
    DXE expression interpreter error. Cannot find match to expression pattern. Source name: BuildExprVisitor::visit, 'in' node. XML: <sawxd:expr xmlns:sawxd="com.siebel.analytics.web/expressiondxe/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sawxd:list" op="in"><sawxd:expr xmlns:sawq="com.siebel.analytics.web/querydxe/v1.1" xsi:type="sawq:groupbyField" refCoorID="2"/><sawxd:expr xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">c9a1da9028cccc07f__@@#$__c9a1da9028cccc07f_g1</sawxd:expr></sawxd:expr>*
    Please help me...
    Thanks in Advance
    Thenmozhi

Maybe you are looking for

  • How to add a link to a search engine?

    Hi, I'd like to add a link to a search engine from here: www.pracuj.pl -it would be perfect if i could have the same search frame as there is on the top of the page- on my website too, is it possible? i'm really looking forward to hearing from you, I

  • Adding pushbutton in application toolbar of HR programs  using LDB

    Hi all! I have a requirement to add a pushbutton in the selection screen application tool bar for the HR programs when using LDB PNP. Normally when we are using LDB in our program we will get a extra button provided by SAP after the execyte button. W

  • Need a Installation Disk

    I inherited a Mac 10.4.9 however I did not get the disk. I don't know the password and need to reset it, but I need the disk. Where could I get one from or is there another way to reset this password without it?

  • Setting security for deployment and connections to SSAS

    I've read that SSAS does not offer mixed mode security option as SQL Server does. Does this mean that every user/client desiring to connect via OLE DB must have a domain account? How does one get around this? Also what is the tool used to administer

  • HP Pavillion dv6 notebook audio recording issue! (windows 7, 64bit)

    Hello! This is my first post here, as this is my first issue with this computer. My microphones won't pick up any sound- this computer has two different ones, an integrated one and an outer one, and yet neither work. Troubleshooting only picks up whe